8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
26 #define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
27
28 #include "prims/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 <stdlib.h>
38 # include <stddef.h>// for offsetof
39 # include <io.h> // for stream.cpp
40 # include <float.h> // for _isnan
41 # include <stdio.h> // for va_list
42 # include <time.h>
43 # include <fcntl.h>
44 # include <limits.h>
45 // Need this on windows to get the math constants (e.g., M_PI).
46 #define _USE_MATH_DEFINES
47 # include <math.h>
48
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_HPP
26 #define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_VISCPP_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 <stdlib.h>
38 # include <stddef.h>// for offsetof
39 # include <io.h> // for stream.cpp
40 # include <float.h> // for _isnan
41 # include <stdio.h> // for va_list
42 # include <time.h>
43 # include <fcntl.h>
44 # include <limits.h>
45 // Need this on windows to get the math constants (e.g., M_PI).
46 #define _USE_MATH_DEFINES
47 # include <math.h>
48
|