summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1989-11-17 03:02:59 +0000
committerLarry Wall <lwall@jpl-devvax.jpl.nasa.gov>1989-11-17 03:02:59 +0000
commitffed7fefd1d95d05e699dababfbb57ef2497cea1 (patch)
treeac02e16ead3b52915c921545a9ccb80f5c857501 /perl.h
parent0d3e774cdb279a1eadd8282d49334b9b1bfd42ed (diff)
downloadperl-ffed7fefd1d95d05e699dababfbb57ef2497cea1.tar.gz
perl 3.0 patch #6 patch 5 continued
See patch 5.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/perl.h b/perl.h
index 2f7131f516..a9e3f1463c 100644
--- a/perl.h
+++ b/perl.h
@@ -1,4 +1,4 @@
-/* $Header: perl.h,v 3.0.1.2 89/11/11 04:39:38 lwall Locked $
+/* $Header: perl.h,v 3.0.1.3 89/11/17 15:28:57 lwall Locked $
*
* Copyright (c) 1989, Larry Wall
*
@@ -6,6 +6,10 @@
* as specified in the README file that comes with the perl 3.0 kit.
*
* $Log: perl.h,v $
+ * Revision 3.0.1.3 89/11/17 15:28:57 lwall
+ * patch5: byteorder now is a hex value
+ * patch5: Configure now looks for <time.h> including <sys/time.h>
+ *
* Revision 3.0.1.2 89/11/11 04:39:38 lwall
* patch2: Configure may now set -DDEBUGGING
* patch2: netinet/in.h needed sys/types.h some places
@@ -35,7 +39,7 @@
# define vfork fork
#endif
-#if defined(MEMCMP) && defined(mips) && BYTEORDER == 01234
+#if defined(MEMCMP) && defined(mips) && BYTEORDER == 0x1234
#undef MEMCMP
#endif
@@ -67,11 +71,14 @@ extern char *memcpy(), *memset();
#if defined(TMINSYS) || defined(I_SYSTIME)
#include <sys/time.h>
-#ifdef TIMETOO
+#ifdef I_TIMETOO
#include <time.h>
#endif
#else
#include <time.h>
+#ifdef I_SYSTIMETOO
+#include <time.h>
+#endif
#endif
#include <sys/times.h>
@@ -238,7 +245,7 @@ EXT STR *Str;
#define STR_GROW(str,len) if ((str)->str_len < (len)) str_grow(str,len)
#ifndef BYTEORDER
-#define BYTEORDER 01234
+#define BYTEORDER 0x1234
#endif
#if defined(htonl) && !defined(HTONL)
@@ -254,7 +261,7 @@ EXT STR *Str;
#define NTOHS
#endif
#ifndef HTONL
-#if (BYTEORDER != 04321) && (BYTEORDER != 087654321)
+#if (BYTEORDER != 0x4321) && (BYTEORDER != 0x87654321)
#define HTONS
#define HTONL
#define NTOHS
@@ -266,7 +273,7 @@ EXT STR *Str;
#define ntohl my_ntohl
#endif
#else
-#if (BYTEORDER == 04321) || (BYTEORDER == 087654321)
+#if (BYTEORDER == 0x4321) || (BYTEORDER == 0x87654321)
#undef HTONS
#undef HTONL
#undef NTOHS