28 #include "memory/filemap.hpp" |
28 #include "memory/filemap.hpp" |
29 #include "runtime/arguments.hpp" |
29 #include "runtime/arguments.hpp" |
30 #include "runtime/java.hpp" |
30 #include "runtime/java.hpp" |
31 #include "runtime/os.hpp" |
31 #include "runtime/os.hpp" |
32 #include "utilities/defaultStream.hpp" |
32 #include "utilities/defaultStream.hpp" |
33 #ifdef TARGET_OS_FAMILY_linux |
|
34 # include "hpi_linux.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_OS_FAMILY_solaris |
|
37 # include "hpi_solaris.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_OS_FAMILY_windows |
|
40 # include "hpi_windows.hpp" |
|
41 #endif |
|
42 |
33 |
43 # include <sys/stat.h> |
34 # include <sys/stat.h> |
44 # include <errno.h> |
35 # include <errno.h> |
45 |
36 |
46 #ifndef O_BINARY // if defined (Win32) use binary files. |
37 #ifndef O_BINARY // if defined (Win32) use binary files. |