aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-09-07 16:50:35 +0200
committerBjörn-Egil Dahlberg <[email protected]>2010-09-10 11:58:54 +0200
commit1c044b96d88d6551b5d28b5837881ce7e0a06ca9 (patch)
treec21e9a1d6a2b86881d5e89770ee20fd64f120141
parenta78b39a0e9ff2cfd13273ab077dc852d70565647 (diff)
downloadotp-1c044b96d88d6551b5d28b5837881ce7e0a06ca9.tar.gz
otp-1c044b96d88d6551b5d28b5837881ce7e0a06ca9.tar.bz2
otp-1c044b96d88d6551b5d28b5837881ce7e0a06ca9.zip
Remove USE_DECLSPEC_THREAD from erl_interface
DECLSPEC causes access violations on vista.
-rw-r--r--lib/erl_interface/configure.in8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/erl_interface/configure.in b/lib/erl_interface/configure.in
index 7728cb97be..72ac8c7bbf 100644
--- a/lib/erl_interface/configure.in
+++ b/lib/erl_interface/configure.in
@@ -288,13 +288,7 @@ case "$threads_disabled" in
;;
win32_threads)
EI_THREADS="true"
- AC_MSG_CHECKING([for __declspec(thread) usability])
- if test "X$GCC" = "Xyes"; then
- AC_MSG_RESULT([no])
- else
- THR_DEFS="$THR_DEFS -DUSE_DECLSPEC_THREAD"
- AC_MSG_RESULT([yes])
- fi
+ THR_DEFS="$THR_DEFS -D_WIN32_WINNT=0x0500 -DWINVER=0x0500"
;;
pthread)
EI_THREADS="true"