/usr/include/liborange_stub.h is in liborange-dev 0.4-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | #ifndef __liborange_stub_h__
#define __liborange_stub_h__
/* Define required types, etc. normally defined by libsynce */
#include <sys/types.h>
#include <stdint.h>
#ifndef __cplusplus
#include <stdbool.h>
#endif
typedef uint8_t BYTE;
typedef uint16_t WORD;
typedef uint32_t DWORD;
#if !defined(htole32) || !defined(htole16) || !defined(letoh16) || !defined(letoh32)
#undef htole16
#undef htole32
#undef letoh16
#undef letoh32
#if 0
#define htole16(x) ((((x) >> 8) & 0xFF) | (((x) << 8) & 0xFF00))
#define htole32(x) ((((x) >> 24) & 0xFF) | (((x) >> 8) & 0xFF00) | \
(((x) << 8) & 0xFF0000) | (((x) << 24) & 0xFF000000))
#define letoh16(x) htole16(x)
#define letoh32(x) htole32(x)
#else
#define htole16(x) (x)
#define htole32(x) (x)
#define letoh16(x) (x)
#define letoh32(x) (x)
#endif
#endif
#endif
|