1 | /* Copyright (C) 2001-2019 Artifex Software, Inc. |
2 | All Rights Reserved. |
3 | |
4 | This software is provided AS-IS with no warranty, either express or |
5 | implied. |
6 | |
7 | This software is distributed under license and may not be copied, |
8 | modified or distributed except as expressly authorized under the terms |
9 | of the license contained in the file LICENSE in this distribution. |
10 | |
11 | Refer to licensing information at http://www.artifex.com or contact |
12 | Artifex Software, Inc., 1305 Grant Avenue - Suite 200, Novato, |
13 | CA 94945, U.S.A., +1(415)492-9861, for further information. |
14 | */ |
15 | |
16 | /* |
17 | jbig2dec |
18 | */ |
19 | |
20 | /* |
21 | indirection layer for build and platform-specific definitions |
22 | |
23 | in general, this header should ensure that the stdint types are |
24 | available, and that any optional compile flags are defined if |
25 | the build system doesn't pass them directly. |
26 | */ |
27 | |
28 | #ifndef _JBIG2_OS_TYPES_H |
29 | #define _JBIG2_OS_TYPES_H |
30 | |
31 | #if defined(HAVE_CONFIG_H) |
32 | # include "config_types.h" |
33 | #elif defined(_WIN32) |
34 | # include "config_win32.h" |
35 | #elif defined (STD_INT_USE_SYS_TYPES_H) |
36 | # include <sys/types.h> |
37 | #elif defined (STD_INT_USE_INTTYPES_H) |
38 | # include <inttypes.h> |
39 | #elif defined (STD_INT_USE_SYS_INTTYPES_H) |
40 | # include <sys/inttypes.h> |
41 | #elif defined (STD_INT_USE_SYS_INT_TYPES_H) |
42 | # include <sys/int_types.h> |
43 | #else |
44 | # include <stdint.h> |
45 | #endif |
46 | |
47 | #endif /* _JBIG2_OS_TYPES_H */ |
48 | |