diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-09-12 09:53:36 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1998-09-12 09:53:36 +0000 |
commit | b1d1613bf6e49670f3a515bd2ac1feeee2e7ccba (patch) | |
tree | cc2517e48fd9a43efa25b81669a35a8fbc8105f7 /win32 | |
parent | fb5b0d601e4bb1f798f9559cbb4b2e9d69aa3eed (diff) | |
download | perl-b1d1613bf6e49670f3a515bd2ac1feeee2e7ccba.tar.gz |
Two tweaks to allow quiet compile qith egcs-1.1
p4raw-id: //depot/maint-5.005/perl@1784
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index 5b3f91d911..0a3f19bb1c 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -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 |