summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-10-03 15:49:36 +0200
committerGravatar Nikias Bassen2014-10-03 15:49:36 +0200
commitadf9ec81ff7e5b8257c7d635657fcb2ffadc7e6a (patch)
treecc01456826197ccfd7c78cbecf0a229d2dcf30f1 /src/common.h
parent62813daf2c4aaec675652d9c1131a58dfa634e38 (diff)
downloadlibplist-adf9ec81ff7e5b8257c7d635657fcb2ffadc7e6a.tar.gz
libplist-adf9ec81ff7e5b8257c7d635657fcb2ffadc7e6a.tar.bz2
Drop src/common.h and use byte order macros from config.h directly
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/common.h b/src/common.h
deleted file mode 100644
index 657e049..0000000
--- a/src/common.h
+++ /dev/null
@@ -1,20 +0,0 @@
1#ifndef COMMON_H
2#define COMMON_H
3
4#ifdef HAVE_CONFIG_H
5#include <config.h>
6#endif
7
8#define PLIST_LITTLE_ENDIAN 0
9#define PLIST_BIG_ENDIAN 1
10
11#ifndef PLIST_BYTE_ORDER
12#if __BIG_ENDIAN__ == 1
13#define PLIST_BYTE_ORDER PLIST_BIG_ENDIAN
14#endif
15#if __LITTLE_ENDIAN__ == 1
16#define PLIST_BYTE_ORDER PLIST_LITTLE_ENDIAN
17#endif
18#endif
19
20#endif