Changeset 212


Ignore:
Timestamp:
Dec 14, 2010, 9:01:44 PM (15 years ago)
Author:
dmik
Message:

jdk: Define proper IS_WIN32, IS_NT and friends on OS/2.

Location:
trunk/openjdk/jdk/src/windows/native/sun/windows
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/src/windows/native/sun/windows/UnicowsLoader.h

    r195 r212  
    6464};
    6565
    66 #ifndef AWT_H
     66#ifndef _AWT_H_
    6767// copied from awt.h
    68 #if defined (WIN32)
     68#if defined (WIN32) || defined(__WIN32OS2__)
    6969    #define IS_WIN32 TRUE
    7070#else
     
    7272#endif
    7373#define IS_NT      (IS_WIN32 && !(::GetVersion() & 0x80000000))
    74 #endif // AWT_H
     74#endif // _AWT_H_
    7575
    7676// Now the platform encoding is Unicode (UTF-16), re-define JNU_ functions
  • trunk/openjdk/jdk/src/windows/native/sun/windows/awt.h

    r184 r212  
    133133 * uname -s returns Windows_NT on NT and 2000 and XP
    134134 */
    135 #if defined (WIN32)
     135#if defined (WIN32) || defined(__WIN32OS2__)
    136136    #define IS_WIN32 TRUE
    137137#else
Note: See TracChangeset for help on using the changeset viewer.