summaryrefslogtreecommitdiff
path: root/cf
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1997-03-29 08:18:06 +0000
committerTed Lemon <source@isc.org>1997-03-29 08:18:06 +0000
commit1e2f6ab96128099f839b39a8926495e54e18fdba (patch)
treec5c577c399c1650c86c95d1eecfc54bd1dbfc8fe /cf
parent5c8441e541bc437a0688f34a686fc8a0d9da437c (diff)
downloadisc-dhcp-1e2f6ab96128099f839b39a8926495e54e18fdba.tar.gz
Add UPF support
Diffstat (limited to 'cf')
-rw-r--r--cf/ultrix.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cf/ultrix.h b/cf/ultrix.h
index 2c881b96..c28bf50f 100644
--- a/cf/ultrix.h
+++ b/cf/ultrix.h
@@ -95,6 +95,12 @@ extern int h_errno;
#define TIME time_t
#define GET_TIME(x) time ((x))
+/* Ultrix doesn't provide an endian.h, but it only runs on little-endian
+ machines, so we'll just hack around the issue. */
+#define BIG_ENDIAN 1
+#define LITTLE_ENDIAN 2
+#define BYTE_ORDER LITTLE_ENDIAN
+
#if defined (USE_DEFAULT_NETWORK)
-# define USE_SOCKETS
+# define USE_UPF
#endif