19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
26 #define SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
27
28 #include "jni.h"
29
30 // This file holds compiler-dependent includes,
31 // globally used constants & types, class (forward)
32 // declarations and a few frequently used utility functions.
33
34 #include <ctype.h>
35 #include <string.h>
36 #include <stdarg.h>
37 #include <stddef.h>
38 #include <stdio.h>
39 #include <stdlib.h>
40 #include <wchar.h>
41
42 #include <math.h>
43 #include <time.h>
44 #include <fcntl.h>
45 #include <dlfcn.h>
46 #include <pthread.h>
47
48 #include <limits.h>
49 #include <errno.h>
50
51 #if defined(LINUX) || defined(_ALLBSD_SOURCE)
52 #include <inttypes.h>
53 #include <signal.h>
54 #ifndef __OpenBSD__
55 #include <ucontext.h>
56 #endif
57 #ifdef __APPLE__
58 #include <AvailabilityMacros.h>
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
26 #define SHARE_UTILITIES_GLOBALDEFINITIONS_GCC_HPP
27
28 #include "jni.h"
29
30 // This file holds compiler-dependent includes,
31 // globally used constants & types, class (forward)
32 // declarations and a few frequently used utility functions.
33
34 #include <ctype.h>
35 #include <string.h>
36 #include <stdarg.h>
37 #include <stddef.h>
38 #include <stdio.h>
39 #include <stdint.h>
40 #include <stdlib.h>
41 #include <wchar.h>
42
43 #include <math.h>
44 #include <time.h>
45 #include <fcntl.h>
46 #include <dlfcn.h>
47 #include <pthread.h>
48
49 #include <limits.h>
50 #include <errno.h>
51
52 #if defined(LINUX) || defined(_ALLBSD_SOURCE)
53 #include <inttypes.h>
54 #include <signal.h>
55 #ifndef __OpenBSD__
56 #include <ucontext.h>
57 #endif
58 #ifdef __APPLE__
59 #include <AvailabilityMacros.h>
|