< prev index next >

src/os/bsd/vm/jvm_bsd.h

Print this page
rev 13052 : [mq]: stdc_macros

*** 1,7 **** /* ! * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 38,62 **** /* * This file is currently collecting system-specific dregs for the * JNI conversion, which should be sorted out later. */ - #ifdef __NetBSD__ - /* - * Since we are compiling with c++, we need the following to make c macros - * visible. - */ - # if !defined(__STDC_LIMIT_MACROS) - # define __STDC_LIMIT_MACROS 1 - # endif - # if !defined(__STDC_CONSTANT_MACROS) - # define __STDC_CONSTANT_MACROS 1 - # endif - # if !defined(__STDC_FORMAT_MACROS) - # define __STDC_FORMAT_MACROS 1 - # endif - #endif #include <dirent.h> /* For DIR */ #include <sys/param.h> /* For MAXPATHLEN */ #include <sys/socket.h> /* For socklen_t */ #include <unistd.h> /* For F_OK, R_OK, W_OK */ --- 38,47 ----
< prev index next >