< prev index next >
src/java.base/unix/native/libjli/java_md_solinux.h
Print this page
rev 59105 : imported patch corelibs
@@ -25,37 +25,21 @@
#ifndef JAVA_MD_SOLINUX_H
#define JAVA_MD_SOLINUX_H
#include <sys/time.h>
-#ifdef __solaris__
-/*
- * Support for doing cheap, accurate interval timing.
- */
-#define CounterGet() (gethrtime()/1000)
-#define Counter2Micros(counts) (counts)
-#else /* ! __solaris__ */
uint64_t CounterGet(void);
#define Counter2Micros(counts) (counts)
-#endif /* __solaris__ */
/* pointer to environment */
extern char **environ;
/*
* A collection of useful strings. One should think of these as #define
* entries, but actual strings can be more efficient (with many compilers).
*/
-#ifdef __solaris__
-static const char *user_dir = "/jdk";
-#else /* !__solaris__, i.e. Linux, AIX,.. */
static const char *user_dir = "/java";
-#endif
#include <dlfcn.h>
-#ifdef __solaris__
-#include <thread.h>
-#else
#include <pthread.h>
-#endif
#endif /* JAVA_MD_SOLINUX_H */
< prev index next >