comparison internal.h @ 152:5b211d03227b libavutil

Move BE_*/LE_*/ST*/LD* macros to a common place. Some further optimization/cleanup would be desirable (e.g. LE_* and LD* should be the same on x86).
author reimar
date Sun, 03 Dec 2006 16:35:30 +0000
parents bec4c3d175da
children b94a48efd763
comparison
equal deleted inserted replaced
151:d6f1b361d2c2 152:5b211d03227b
32 32
33 #ifndef ENODATA 33 #ifndef ENODATA
34 # define ENODATA 61 34 # define ENODATA 61
35 #endif 35 #endif
36 36
37 #include "intreadwrite.h"
37 #include "bswap.h" 38 #include "bswap.h"
38 39
39 #include <stddef.h> 40 #include <stddef.h>
40 #ifndef offsetof 41 #ifndef offsetof
41 # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F)) 42 # define offsetof(T,F) ((unsigned int)((char *)&((T *)0)->F))