fix Windows build

This commit is contained in:
Joel Dice 2011-09-30 14:44:25 -06:00
parent 88d614eb25
commit b063f10ad5
2 changed files with 7 additions and 0 deletions

View File

@ -384,6 +384,7 @@ ifeq ($(platform),windows)
strip = x86_64-w64-mingw32-strip --strip-all
else
build-system = windows
cflags += -DTARGET_PLATFORM_WINDOWS
common-cflags += "-I$(JAVA_HOME)/include/win32"
build-cflags = $(common-cflags) -I$(src) -I$(inc) -mthreads
openjdk-extra-cflags =

View File

@ -8392,6 +8392,12 @@ class MyProcessor: public Processor {
difference(&(t->virtualCallTarget), t));
fprintf(stderr, "virtualCallIndex %d\n",
difference(&(t->virtualCallIndex), t));
fprintf(stderr, "heapImage %d\n",
difference(&(t->heapImage), t));
fprintf(stderr, "codeImage %d\n",
difference(&(t->codeImage), t));
fprintf(stderr, "thunkTable %d\n",
difference(&(t->thunkTable), t));
exit(0);
}