Changeset 208
- Timestamp:
- Dec 10, 2010, 5:58:20 PM (15 years ago)
- Location:
- trunk/openjdk/jdk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/make/sun/cmm/kcms/Makefile
r74 r208 85 85 vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR) 86 86 87 ifeq ($( filter-out windows os2, $(PLATFORM)),)87 ifeq ($(PLATFORM), windows) 88 88 89 89 OTHER_LDLIBS = user32.lib version.lib … … 97 97 98 98 else # PLATFORM 99 ifeq ($(PLATFORM), os2) 100 101 OTHER_LDLIBS = -luser32.lib -lversion.lib 102 103 else # PLATFORM 99 104 OTHER_LDLIBS = $(LIBM) 100 105 … … 105 110 106 111 endif # PLATFORM 112 endif # PLATFORM 107 113 108 114 #CFLAGS += -DJAVACMM -DFUT_CALC_EX -DNO_FUT_GCONST -
trunk/openjdk/jdk/make/sun/cmm/lcms/Makefile
r2 r208 34 34 # Files 35 35 # 36 ifeq ($( PLATFORM), windows)36 ifeq ($(filter-out windows os2,$(PLATFORM)),) 37 37 include FILES_c_windows.gmk 38 38 else # PLATFORM … … 93 93 94 94 else 95 ifeq ($(PLATFORM), os2) 96 97 OTHER_LDLIBS = -luser32.lib -lversion.lib -l$(OBJDIR)/../../../sun.awt/awt/$(OBJDIRNAME)/awt.lib 98 OTHER_INCLUDES += -I$(SHARE_SRC)/native/sun/java2d \ 99 -I$(SHARE_SRC)/native/sun/awt/debug 100 101 else 95 102 OTHER_LDLIBS = $(LIBM) -lawt -L$(LIBDIR)/$(LIBARCH)/xawt 96 103 CPPFLAGS += -I$(SHARE_SRC)/native/sun/java2d \ 97 104 -I$(SHARE_SRC)/native/sun/awt/debug 98 105 endif 99 106 endif -
trunk/openjdk/jdk/make/sun/splashscreen/Makefile
r74 r208 29 29 PRODUCT = sun 30 30 include $(BUILDDIR)/common/Defs.gmk 31 32 LIBRARY_SHORT = splshscr 31 33 32 34 # … … 67 69 OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread 68 70 else # PLATFORM 71 ifeq ($(PLATFORM), windows) 69 72 CFLAGS += -DWITH_WIN32 70 73 OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib 71 74 #$(JVMLIB) $(OBJDIR)/../../jpeg/$(OBJDIRNAME)/jpeg$(SUFFIX).lib 75 else # PLATFORM = os2 76 CFLAGS += -DWITH_WIN32 77 OTHER_LDLIBS += -lkernel32.lib -luser32.lib -lgdi32.lib 78 endif # PLATFORM 72 79 endif # PLATFORM 73 80 -
trunk/openjdk/jdk/src/share/classes/java/awt/SplashScreen.java
r2 r208 109 109 // SplashScreen class is now a singleton 110 110 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( 112 116 new sun.security.action.LoadLibraryAction("splashscreen")); 117 } 113 118 long ptr = _getInstance(); 114 119 if (ptr != 0 && _isVisible(ptr)) { -
trunk/openjdk/jdk/src/share/native/sun/awt/image/jpeg/jmorecfg.h
r2 r208 127 127 128 128 129 #if !defined(__WIN32OS2__) || !defined(__WINE_BASETSD_H) 130 129 131 /* These typedefs are used for various table entries and so forth. 130 132 * They must be at least as wide as specified; but making them too big … … 169 171 #endif 170 172 #endif 173 174 #endif /* !defined(__WIN32OS2__) || !defined(__WINE_BASETSD_H) */ 171 175 172 176 /* Datatype used for image dimensions. The JPEG standard only supports -
trunk/openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/LCMS.c
r2 r208 120 120 } 121 121 122 JNIEXPORT int JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) {122 JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *jvm, void *reserved) { 123 123 javaVM = jvm; 124 124 … … 457 457 { 458 458 storeID_t sTrans; 459 int size, inFmt, outFmt, srcDType, dstDType, outSize, renderType; 459 int size, inFmt, outFmt, outSize, renderType; 460 jint srcDType, dstDType; 460 461 int srcOffset, srcNextRowOffset, dstOffset, dstNextRowOffset; 461 462 int width, height, i; -
trunk/openjdk/jdk/src/share/native/sun/java2d/cmm/lcms/lcms.h
r2 r208 117 117 #endif 118 118 119 #ifdef __WIN32OS2__ 120 # undef NON_WINDOWS 121 #endif 122 119 123 // Borland C 120 124 … … 263 267 #include <windows.h> 264 268 265 #ifdef _WIN64 269 #if defined(__WIN32OS2__) 270 # include <string.h> 271 #endif 272 273 #if defined(_WIN64) || defined(__WIN32OS2__) 266 274 # ifdef USE_ASSEMBLER 267 275 # undef USE_ASSEMBLER … … 277 285 #endif 278 286 287 #ifndef __GNUC__ 279 288 // This works for both VC & BorlandC 280 289 #define LCMS_INLINE __inline 290 #else 291 #define LCMS_INLINE static inline 292 #endif 281 293 282 294 #ifdef USE_PTHREADS -
trunk/openjdk/jdk/src/windows/native/sun/awt/splashscreen/splashscreen_config.h
r2 r208 53 53 #define RECT_INC_HEIGHT(r) (r).bottom++; 54 54 55 #ifndef INLINE 55 56 #define INLINE __inline 57 #endif 56 58 57 59 #define SPLASHEXPORT __declspec(dllexport) -
trunk/openjdk/jdk/src/windows/native/sun/awt/splashscreen/splashscreen_sys.c
r2 r208 29 29 #include <winuser.h> 30 30 31 #ifdef __EMX__ 32 #include <alloca.h> 33 #endif 34 31 35 /* layered windows api prototypes. wouldn't be needed if we could use an updated version of the MS PSDK. */ 32 36 … … 68 72 #define GWLP_USERDATA GWL_USERDATA 69 73 #define GWLP_WNDPROC GWL_WNDPROC 74 #if !defined(__WIN32OS2__) 70 75 typedef __int32 LONG_PTR; 71 76 typedef unsigned __int32 ULONG_PTR; 77 #endif 72 78 #endif // __int3264 73 79
Note:
See TracChangeset
for help on using the changeset viewer.