From 9d3843e2186c49eee273fef1d90043ef31793aea Mon Sep 17 00:00:00 2001 From: kvigor Date: Tue, 17 Oct 2000 18:03:29 +0000 Subject: [PATCH] Remove Windows NT flavored predefined symbols git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@474 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/cpp/i386/win-nt.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/support/cpp/i386/win-nt.h b/support/cpp/i386/win-nt.h index 60c0bb6a..aea1cebd 100644 --- a/support/cpp/i386/win-nt.h +++ b/support/cpp/i386/win-nt.h @@ -27,13 +27,22 @@ Boston, MA 02111-1307, USA. */ #ifdef CPP_PREDEFINES #undef CPP_PREDEFINES #endif +#if 0 +/* The whole configuration system should be fixed; we really shouldn't + * include this file at all. + * + * But at least let's not pretend we're Microsoft C version 8 running + * on Windows NT, eh? + */ #define CPP_PREDEFINES "-Dunix -Di386 -DWIN32 -D_WIN32 \ -DWINNT -D_M_IX86=300 -D_X86_=1 -D__STDC__=0 -DALMOST_STDC -D_MSC_VER=800 \ -D__stdcall=__attribute__((__stdcall__)) \ -D__cdecl=__attribute__((__cdecl__)) \ -D_cdecl=__attribute__((__cdecl__)) \ -Asystem(unix) -Asystem(winnt) -Acpu(i386) -Amachine(i386)" - +#else +#define CPP_PREDEFINES "-DSDCC" +#endif #define SIZE_TYPE "unsigned int" #define PTRDIFF_TYPE "int" #define WCHAR_UNSIGNED 1 -- 2.39.5