more fixes

This commit is contained in:
Vítor Santos Costa 2010-05-06 16:32:41 +01:00
parent f3cb0184e7
commit 6307508ffc
3 changed files with 7 additions and 7 deletions

4
configure vendored
View File

@ -6837,10 +6837,8 @@ fi
if test "$target_win64" = no
then
LDFLAGS="-Wl,--large-address-aware $LDFLAGS"
SHLIB_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll"
else
SHLIB_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll -lws2_32"
fi
SHLIB_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll"
SHLIB_LOWER_LD="\$(CC) -shared -Wl,--export-all-symbols ../../../yap.dll"
SHLIB_LOWER_CXX_LD="\$(CXX) -shared -Wl,--export-all-symbols ../../../yap.dll"
SHLIB_SWI_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll ../../packages/PLStream/plstream.dll"

View File

@ -977,10 +977,8 @@ dnl Linux has both elf and a.out, in this case we found elf
if test "$target_win64" = no
then
LDFLAGS="-Wl,--large-address-aware $LDFLAGS"
SHLIB_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll"
else
SHLIB_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll -lws2_32"
fi
SHLIB_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll"
SHLIB_LOWER_LD="\$(CC) -shared -Wl,--export-all-symbols ../../../yap.dll"
SHLIB_LOWER_CXX_LD="\$(CXX) -shared -Wl,--export-all-symbols ../../../yap.dll"
SHLIB_SWI_LD="\$(CC) -shared -Wl,--export-all-symbols ../../yap.dll ../../packages/PLStream/plstream.dll"

View File

@ -29,7 +29,11 @@
/* Type definitions */
typedef unsigned long YAP_CELL; /* this is common to all current machines */
#if _WIN64
typedef unsigned long long YAP_CELL;
#else
typedef unsigned long YAP_CELL;
#endif
typedef int YAP_Bool;