mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
8186897: semaphore_posix.hpp should not be included on OSX
Reviewed-by: stefank, dholmes
This commit is contained in:
parent
dd460203f4
commit
897a7b3f67
1 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
#include "utilities/globalDefinitions.hpp"
|
#include "utilities/globalDefinitions.hpp"
|
||||||
#include "prims/jvm.h"
|
#include "prims/jvm.h"
|
||||||
#include "semaphore_posix.hpp"
|
|
||||||
#include "runtime/frame.inline.hpp"
|
#include "runtime/frame.inline.hpp"
|
||||||
#include "runtime/interfaceSupport.hpp"
|
#include "runtime/interfaceSupport.hpp"
|
||||||
#include "runtime/os.hpp"
|
#include "runtime/os.hpp"
|
||||||
|
@ -32,6 +31,11 @@
|
||||||
#include "utilities/macros.hpp"
|
#include "utilities/macros.hpp"
|
||||||
#include "utilities/vmError.hpp"
|
#include "utilities/vmError.hpp"
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
|
// POSIX unamed semaphores are not supported on OS X.
|
||||||
|
#include "semaphore_posix.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <semaphore.h>
|
#include <semaphore.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue