more fixes
This commit is contained in:
parent
f3cb0184e7
commit
6307508ffc
4
configure
vendored
4
configure
vendored
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user