From b1b021d168ab114910320a6b2cfb612293562228 Mon Sep 17 00:00:00 2001 From: vsc Date: Thu, 17 Oct 2002 03:42:14 +0000 Subject: [PATCH] make it linux compatible again. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@640 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/sysbits.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/C/sysbits.c b/C/sysbits.c index dba13302c..a0aab3b8b 100644 --- a/C/sysbits.c +++ b/C/sysbits.c @@ -30,11 +30,17 @@ static char SccsId[] = "%W% %G%"; #if _MSC_VER || defined(__MINGW32__) #define _WIN32_WINNT 0x0400 #endif +/* windows.h does not like absmi.h, this + should fix it for now */ +#if _MSC_VER || defined(__MINGW32__) #include "Yap.h" #include "Yatom.h" #include "Heap.h" -#include "yapio.h" #include "eval.h" +#else +#include "absmi.h" +#endif +#include "yapio.h" #include "alloc.h" #include #if STDC_HEADERS