Two tweaks to allow quiet compile qith egcs-1.1
authorNick Ing-Simmons <nik@tiuk.ti.com>
Sat, 12 Sep 1998 09:53:36 +0000 (09:53 +0000)
committerNick Ing-Simmons <nik@tiuk.ti.com>
Sat, 12 Sep 1998 09:53:36 +0000 (09:53 +0000)
p4raw-id: //depot/maint-5.005/perl@1784

win32/win32.h

index 5b3f91d..0a3f19b 100644 (file)
@@ -27,7 +27,9 @@ typedef long long __int64;
 /* GCC does not do __declspec() - render it a nop 
  * and turn on options to avoid importing data 
  */
+#ifndef __declspec
 #  define __declspec(x)
+#endif
 #  ifndef PERL_OBJECT
 #    define PERL_GLOBAL_STRUCT
 #    define MULTIPLICITY
@@ -213,7 +215,9 @@ struct mgvtbl {                                                             \
 
 typedef long           uid_t;
 typedef long           gid_t;
+#ifndef _environ
 #define _environ       environ
+#endif
 #define flushall       _flushall
 #define fcloseall      _fcloseall