GNU Radio's GSM Package
endian.h
Go to the documentation of this file.
1
#ifndef GSM_ENDIAN_H
2
#define GSM_ENDIAN_H
3
4
#if defined(__linux__)
5
# include <
endian.h
>
6
#elif defined(__APPLE__)
7
# include <libkern/OSByteOrder.h>
8
9
# define htobe16(x) OSSwapHostToBigInt16(x)
10
# define htobe32(x) OSSwapHostToBigInt32(x)
11
12
# define be32toh(x) OSSwapBigToHostInt32(x)
13
#endif
14
15
#endif
/* GSM_ENDIAN_H */
endian.h
include
gsm
endian.h
Generated on Tue Dec 2 2014 21:26:34 for GNU Radio's GSM Package by
1.8.8