diff options
-rw-r--r-- | imakemdep.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/imakemdep.h b/imakemdep.h index 1340cc4..52d67ab 100644 --- a/imakemdep.h +++ b/imakemdep.h @@ -143,12 +143,16 @@ in this Software without prior written authorization from The Open Group. #endif #ifdef WIN32 +#ifdef __GNUC__ +#define imake_ccflags "-D__STDC__" +#else #if _MSC_VER < 1000 #define imake_ccflags "-nologo -batch -D__STDC__" #else #define imake_ccflags "-nologo -D__STDC__" #endif #endif +#endif #ifdef __uxp__ #define imake_ccflags "-DSVR4 -DANSICPP" @@ -256,8 +260,12 @@ in this Software without prior written authorization from The Open Group. #endif #ifdef WIN32 #define USE_CC_E +#ifdef __GNUC__ +#define DEFAULT_CC "gcc" +#else #define DEFAULT_CC "cl" #endif +#endif #ifdef apollo #define DEFAULT_CPP "/usr/lib/cpp" #endif @@ -597,10 +605,12 @@ char *cpp_argv[ARGUMENTS] = { #endif #ifdef WIN32 "-DWIN32", +#ifndef __GNUC__ "-nologo", #if _MSC_VER < 1000 "-batch", #endif +#endif "-D__STDC__", #endif #ifdef NCR |