summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-19 17:32:03 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-19 17:32:03 +0000
commit7f46da6268ed65b94f382383a307af454026167e (patch)
treed5c9571fcd788981aa6d43f4b82f8e35d93c70bc /perl.h
parent9134c1040dea2826784101634ac77642257765c6 (diff)
downloadperl-7f46da6268ed65b94f382383a307af454026167e.tar.gz
avoid compiler warnings
p4raw-id: //depot/perl@5149
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/perl.h b/perl.h
index cb3e6eb251..66162e6ec9 100644
--- a/perl.h
+++ b/perl.h
@@ -3170,20 +3170,19 @@ typedef struct am_table_short AMTS;
#ifdef I_FCNTL
# include <fcntl.h>
-#else
-# ifndef O_RDONLY
-/* Assume UNIX defaults */
-# define O_RDONLY 0000
-# define O_WRONLY 0001
-# define O_RDWR 0002
-# define O_CREAT 0100
-# endif
#endif
#ifdef I_SYS_FILE
# include <sys/file.h>
#endif
+#ifndef O_RDONLY
+/* Assume UNIX defaults */
+# define O_RDONLY 0000
+# define O_WRONLY 0001
+# define O_RDWR 0002
+# define O_CREAT 0100
+#endif
#ifdef IAMSUID