Ignore:
Timestamp:
Dec 8, 2010, 10:53:37 PM (15 years ago)
Author:
dmik
Message:

jdk: Shortened 5 other DLL names.

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

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/src/windows/classes/sun/security/mscapi/SunMSCAPI.java

    r2 r203  
    5151        AccessController.doPrivileged(new PrivilegedAction() {
    5252            public Object run() {
    53                 System.loadLibrary("sunmscapi");
     53                if (System.getProperty("os.name").startsWith("OS/2")) {
     54                    System.loadLibrary("smscapi");
     55                } else {
     56                    System.loadLibrary("sunmscapi");
     57                }
    5458                return null;
    5559            }
  • trunk/openjdk/jdk/src/windows/native/sun/windows/awt_Mlib.cpp

    r2 r203  
    4949         * initialize the pointers to required mlib routines.
    5050         */
     51#ifdef __WIN32OS2__         
     52        hDLL = ::LoadLibrary(TEXT("mlibimg.dll"));
     53#else
    5154        hDLL = ::LoadLibrary(TEXT("mlib_image.dll"));
    52 
     55#endif
    5356        if (hDLL == NULL) {
    5457            return MLIB_FAILURE;
Note: See TracChangeset for help on using the changeset viewer.