summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-12-02 03:28:23 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-12-02 03:28:23 +0000
commit910dfcc863de04bd9adf089d5f905cb1c045b99f (patch)
tree55a26907d0b583d68d12c365aa6889ddfb9e3b8f /win32/win32.h
parente5b7f3f7ee14e78d59c96182925cfc4f24c01fe8 (diff)
downloadperl-910dfcc863de04bd9adf089d5f905cb1c045b99f.tar.gz
[win32] various hacks to get mingw32 to build. Sync Makefile with makefile.mk.
makegcc.mk to be merged into makefile.mk soon. p4raw-id: //depot/win32/perl@346
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 9b53a9a4b5..c1e0121932 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -94,7 +94,7 @@ struct tms {
/* Compiler-specific stuff. */
-#ifdef __BORLANDC__ /* Microsoft Visual C++ */
+#ifdef __BORLANDC__ /* Borland C++ */
#define _access access
#define _chdir chdir
@@ -114,7 +114,7 @@ struct tms {
#pragma warn -csu
#pragma warn -pro
-#else
+#endif
#ifdef _MSC_VER /* Microsoft Visual C++ */
@@ -124,9 +124,15 @@ typedef long gid_t;
#endif /* _MSC_VER */
+#ifdef __MINGW32__ /* Minimal Gnu-Win32 */
+
+typedef long uid_t;
+typedef long gid_t;
+
+#endif /* __MINGW32__ */
+
/* compatibility stuff for other compilers goes here */
-#endif
START_EXTERN_C