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
commitfe52b3b7bda653f279f0cacf2b55156e66a0d71d (patch)
treed5c9571fcd788981aa6d43f4b82f8e35d93c70bc /perl.h
parent89752b9c32c52b9549c3e229050ad433f6278ee5 (diff)
downloadperl-fe52b3b7bda653f279f0cacf2b55156e66a0d71d.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