allow compilation on WIN32 platforms.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@577 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
18498c43d2
commit
483170acc5
@ -67,7 +67,7 @@ static char SccsId[] = "%W% %G%";
|
||||
#if !HAVE_STRNCPY
|
||||
#define strncpy(X,Y,Z) strcpy(X,Y)
|
||||
#endif
|
||||
#if _MSC_VER
|
||||
#if _MSC_VER || defined(__MINGW32__)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if _MSC_VER || defined(__MINGW32__)
|
||||
|
@ -42,6 +42,12 @@ static char SccsId[] = "@(#)scanner.c 1.2";
|
||||
#include "yapio.h"
|
||||
#include "alloc.h"
|
||||
#include "eval.h"
|
||||
#if _MSC_VER || defined(__MINGW32__)
|
||||
#if HAVE_FINITE==1
|
||||
#undef HAVE_FINITE
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#include "iopreds.h"
|
||||
#if HAVE_STRING_H
|
||||
#include <string.h>
|
||||
|
@ -51,11 +51,14 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
#ifdef NO_DYN
|
||||
#undef NO_DYN
|
||||
#define LOAD_DLL 1
|
||||
#endif
|
||||
#if LOAD_DL
|
||||
#undef LOAD_DL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __hpux
|
||||
|
Reference in New Issue
Block a user