Changeset 99
- Timestamp:
- Aug 10, 2010, 8:01:22 PM (15 years ago)
- Location:
- trunk/openjdk/jdk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk/jdk/make/java/java_hprof_demo/Makefile
r74 r99 81 81 -I$(SHARE_SRC)/demo/jvmti/java_crw_demo 82 82 83 ifeq ($( filter-out windows os2, $(PLATFORM)),)83 ifeq ($(PLATFORM), windows) 84 84 OTHER_LDLIBS += wsock32.lib winmm.lib 85 85 else 86 ifeq ($(PLATFORM), os2) 87 OTHER_LDLIBS += -lwsock32.lib -lwinmm.lib 88 else 86 89 OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl 90 endif 87 91 endif 88 92 … … 113 117 # Add to ambient vpath so we pick up the library files 114 118 # 115 vpath %.c $(SRCDIR) :$(PSRCDIR)119 vpath %.c $(SRCDIR) $(PSRCDIR) 116 120 117 121 # -
trunk/openjdk/jdk/src/windows/demo/jvmti/hprof/hprof_md.c
r2 r99 31 31 32 32 #include <windows.h> 33 #ifndef __WIN32OS2__ 33 34 #include <io.h> 35 #endif 34 36 #include <sys/types.h> 35 37 #include <sys/stat.h> … … 41 43 #include "jni.h" 42 44 #include "hprof.h" 45 46 #ifdef __EMX__ 47 #include <unistd.h> 48 #define _S_IREAD S_IRUSR 49 #define _S_IWRITE S_IWUSR 50 #define _S_IEXEC S_IXUSR 51 #define _lseeki64 lseek 52 #endif 43 53 44 54 int
Note:
See TracChangeset
for help on using the changeset viewer.