diff options
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 |