Changeset 46


Ignore:
Timestamp:
Jun 28, 2010, 11:27:00 PM (15 years ago)
Author:
dmik
Message:

hotspot/src: Adding OS/2 support.

Location:
trunk/openjdk/hotspot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/hotspot/src/cpu/x86/vm/jni_x86.h

    r2 r46  
    4646
    4747  typedef int jint;
     48#ifdef __EMX__
     49  typedef __int64_t jlong;
     50#else
    4851  typedef __int64 jlong;
     52#endif
    4953#endif
    5054
  • trunk/openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp

    r2 r46  
    5151#include <fcntl.h>
    5252#include <dlfcn.h>
     53#ifndef OS2
    5354#include <pthread.h>
     55#endif
    5456
    5557#ifdef SOLARIS
     
    229231#endif
    230232inline int g_isnan(double f) { return isnand(f); }
    231 #elif LINUX
     233#elif defined(LINUX) || defined(OS2)
    232234inline int g_isnan(float  f) { return isnanf(f); }
    233235inline int g_isnan(double f) { return isnan(f); }
Note: See TracChangeset for help on using the changeset viewer.