make it compile under MSN vc. Unfortunately it has a weird crash at boot :(
- Lots of indenting changes - VC++ is strict with variadic macros - VC++ does not accept unistd.h - new interface for walltime - VC++ does not seem to have support for integer overflow. - VC++ defines YENV_REG? - no access flags, x permissions ignored. - new FindGMP supporting MPIR - make horus optional (c++ is hard).
This commit is contained in:
@@ -83,7 +83,7 @@ X_API int YAP_Reset(yap_reset_t mode);
|
||||
#define strncat(X, Y, Z) strcat(X, Y)
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32) && !defined(X_API)
|
||||
#define X_API __declspec(dllexport)
|
||||
#endif
|
||||
|
||||
@@ -2345,7 +2345,7 @@ static void construct_init_file(char *boot_file, char *BootFile) {
|
||||
|
||||
#define BOOT_FROM_SAVED_STATE TRUE
|
||||
|
||||
X_API Int YAP_Init(YAP_init_args *yap_init) {
|
||||
Int YAP_Init(YAP_init_args *yap_init) {
|
||||
int restore_result;
|
||||
int do_bootstrap = (yap_init->YapPrologBootFile != NULL);
|
||||
CELL Trail = 0, Stack = 0, Heap = 0, Atts = 0;
|
||||
|
Reference in New Issue
Block a user