mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8048241: Introduce umbrella header os.inline.hpp and clean up includes
Reviewed-by: coleenp, dholmes, lfoltan
This commit is contained in:
parent
a3765464cb
commit
f2051ed6fa
67 changed files with 141 additions and 528 deletions
|
@ -25,8 +25,6 @@
|
|||
#ifndef OS_BSD_VM_OS_BSD_INLINE_HPP
|
||||
#define OS_BSD_VM_OS_BSD_INLINE_HPP
|
||||
|
||||
#include "runtime/atomic.inline.hpp"
|
||||
#include "runtime/orderAccess.inline.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
|
||||
// System includes
|
||||
|
@ -40,18 +38,6 @@ inline void* os::thread_local_storage_at(int index) {
|
|||
return pthread_getspecific((pthread_key_t)index);
|
||||
}
|
||||
|
||||
inline const char* os::file_separator() {
|
||||
return "/";
|
||||
}
|
||||
|
||||
inline const char* os::line_separator() {
|
||||
return "\n";
|
||||
}
|
||||
|
||||
inline const char* os::path_separator() {
|
||||
return ":";
|
||||
}
|
||||
|
||||
// File names are case-sensitive on windows only
|
||||
inline int os::file_name_strcmp(const char* s1, const char* s2) {
|
||||
return strcmp(s1, s2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue