comparison src/os/bsd/vm/jvm_bsd.h @ 4006:436b4a3231bf

7098194: integrate macosx-port changes Summary: Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29. Reviewed-by: kvn, dholmes, never, phh Contributed-by: Christos Zoulas <christos@zoulas.com>, Greg Lewis <glewis@eyesbeyond.com>, Kurt Miller <kurt@intricatesoftware.com>, Alexander Strange <astrange@apple.com>, Mike Swingler <swingler@apple.com>, Roger Hoover <rhoover@apple.com>, Victor Hernandez <vhernandez@apple.com>, Pratik Solanki <psolanki@apple.com>
author dcubed
date Thu, 13 Oct 2011 09:35:42 -0700
parents f08d439fab8c
children 11c26bfcf8c7
comparison
equal deleted inserted replaced
4005:2ef3386478e6 4006:436b4a3231bf
39 39
40 /* 40 /*
41 * This file is currently collecting system-specific dregs for the 41 * This file is currently collecting system-specific dregs for the
42 * JNI conversion, which should be sorted out later. 42 * JNI conversion, which should be sorted out later.
43 */ 43 */
44 #ifdef __NetBSD__
45 /*
46 * Since we are compiling with c++, we need the following to make c macros
47 * visible.
48 */
49 # if !defined(__STDC_LIMIT_MACROS)
50 # define __STDC_LIMIT_MACROS 1
51 # endif
52 # if !defined(__STDC_CONSTANT_MACROS)
53 # define __STDC_CONSTANT_MACROS 1
54 # endif
55 # if !defined(__STDC_FORMAT_MACROS)
56 # define __STDC_FORMAT_MACROS 1
57 # endif
58 #endif
44 59
45 #include <dirent.h> /* For DIR */ 60 #include <dirent.h> /* For DIR */
46 #include <sys/param.h> /* For MAXPATHLEN */ 61 #include <sys/param.h> /* For MAXPATHLEN */
47 #include <unistd.h> /* For F_OK, R_OK, W_OK */ 62 #include <unistd.h> /* For F_OK, R_OK, W_OK */
48 63