hotspot/src/os/bsd/vm/jvm_bsd.h
changeset 10739 91935236600e
parent 10565 dc90c239f4ec
child 11256 025cd1741566
equal deleted inserted replaced
10738:cc19612c6b9f 10739:91935236600e
    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