summaryrefslogtreecommitdiff
path: root/epan/pint.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-09-28 03:16:29 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-09-28 03:16:29 +0000
commit9d9850f209ff7b5f350c7e83719eebaa76a72edd (patch)
treeccf03ab311c3d67e880750071dcba5cb31d73e42 /epan/pint.h
parentcba2930d6bb7e8cf2b0c03d14203624b56460835 (diff)
downloadwireshark-9d9850f209ff7b5f350c7e83719eebaa76a72edd.tar.gz
More EPAN-related code movements. Get rid of usage of #include "globals.h"
and #include "util.h" from epan code. Move get_home_dir() into epan/filesystem.c as it's used by plugins.c. svn path=/trunk/; revision=2461
Diffstat (limited to 'epan/pint.h')
-rw-r--r--epan/pint.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/epan/pint.h b/epan/pint.h
index 38f9201ffc..cb0be3a30c 100644
--- a/epan/pint.h
+++ b/epan/pint.h
@@ -2,7 +2,7 @@
* Definitions for extracting and translating integers safely and portably
* via pointers.
*
- * $Id: pint.h,v 1.1 2000/09/27 04:54:50 gram Exp $
+ * $Id: pint.h,v 1.2 2000/09/28 03:16:16 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -112,4 +112,15 @@
#define htolel(l) (l)
#endif
+/* Byte ordering */
+#ifndef BYTE_ORDER
+# define LITTLE_ENDIAN 4321
+# define BIG_ENDIAN 1234
+# ifdef WORDS_BIGENDIAN
+# define BYTE_ORDER BIG_ENDIAN
+# else
+# define BYTE_ORDER LITTLE_ENDIAN
+# endif
+#endif
+
#endif /* PINT_H */