Changeset 208 for trunk/openjdk/jdk/src


Ignore:
Timestamp:
Dec 10, 2010, 5:58:20 PM (15 years ago)
Author:
dmik
Message:

jdk: Made build splashscreen.dll, jpeg.dll, lcms.dll.

Location:
trunk/openjdk/jdk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/src/share/classes/java/awt/SplashScreen.java

    r2 r208  
    109109            // SplashScreen class is now a singleton
    110110            if (!wasClosed && theInstance == null) {
    111                 java.security.AccessController.doPrivileged(
     111                if (System.getProperty("os.name").startsWith("OS/2")) {
     112                    java.security.AccessController.doPrivileged(
     113                        new sun.security.action.LoadLibraryAction("splshscr"));
     114                } else {
     115                    java.security.AccessController.doPrivileged(
    112116                        new sun.security.action.LoadLibraryAction("splashscreen"));
     117                }
    113118                long ptr = _getInstance();
    114119                if (ptr != 0 && _isVisible(ptr)) {
  • trunk/openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmorecfg.h

    r2 r208  
    127127
    128128
     129#if !defined(__WIN32OS2__) || !defined(__WINE_BASETSD_H)
     130
    129131/* These typedefs are used for various table entries and so forth.
    130132 * They must be at least as wide as specified; but making them too big
     
    169171#endif
    170172#endif
     173
     174#endif /* !defined(__WIN32OS2__) || !defined(__WINE_BASETSD_H) */
    171175
    172176/* Datatype used for image dimensions.  The JPEG standard only supports
  • trunk/openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c

    r2 r208  
    120120}
    121121
    122 JNIEXPORT int JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) {
     122JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) {
    123123    javaVM = jvm;
    124124
     
    457457{
    458458    storeID_t sTrans;
    459     int size, inFmt, outFmt, srcDType, dstDType, outSize, renderType;
     459    int size, inFmt, outFmt, outSize, renderType;
     460    jint srcDType, dstDType;
    460461    int srcOffset, srcNextRowOffset, dstOffset, dstNextRowOffset;
    461462    int width, height, i;
  • trunk/openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/lcms.h

    r2 r208  
    117117#endif
    118118
     119#ifdef __WIN32OS2__
     120#    undef NON_WINDOWS
     121#endif
     122
    119123// Borland C
    120124
     
    263267#include <windows.h>
    264268
    265 #ifdef _WIN64
     269#if defined(__WIN32OS2__)
     270#   include <string.h>
     271#endif
     272
     273#if defined(_WIN64) || defined(__WIN32OS2__)
    266274# ifdef USE_ASSEMBLER
    267275#    undef  USE_ASSEMBLER
     
    277285#endif
    278286
     287#ifndef __GNUC__
    279288// This works for both VC & BorlandC
    280289#define LCMS_INLINE __inline
     290#else
     291#define LCMS_INLINE static inline
     292#endif
    281293
    282294#ifdef USE_PTHREADS
  • trunk/openjdk/jdk/src/windows/native/sun/awt/splashscreen/splashscreen_config.h

    r2 r208  
    5353#define RECT_INC_HEIGHT(r) (r).bottom++;
    5454
     55#ifndef INLINE
    5556#define INLINE __inline
     57#endif
    5658
    5759#define SPLASHEXPORT __declspec(dllexport)
  • trunk/openjdk/jdk/src/windows/native/sun/awt/splashscreen/splashscreen_sys.c

    r2 r208  
    2929#include <winuser.h>
    3030
     31#ifdef __EMX__
     32#include <alloca.h>
     33#endif
     34
    3135/* layered windows api prototypes. wouldn't be needed if we could use an updated version of the MS PSDK. */
    3236
     
    6872#define GWLP_USERDATA GWL_USERDATA
    6973#define GWLP_WNDPROC  GWL_WNDPROC
     74#if !defined(__WIN32OS2__)
    7075typedef __int32 LONG_PTR;
    7176typedef unsigned __int32 ULONG_PTR;
     77#endif
    7278#endif // __int3264
    7379
Note: See TracChangeset for help on using the changeset viewer.