7198519: Broken build, hotspot-rt win USE_PRECOMPILED_HEADER=0
Summary: Uncommented out include for sys/stat.h and deleted include statements that were commented out.
Reviewed-by: coleenp, acorn, dholmes
Contributed-by: harold.seigel@oracle.com
--- a/hotspot/src/os/windows/vm/jvm_windows.h Sun Sep 30 23:24:12 2012 +0100
+++ b/hotspot/src/os/windows/vm/jvm_windows.h Thu Oct 04 08:38:06 2012 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -61,8 +61,6 @@
typedef int socklen_t;
-// #include "jni.h"
-
#define JNI_ONLOAD_SYMBOLS {"_JNI_OnLoad@8", "JNI_OnLoad"}
#define JNI_ONUNLOAD_SYMBOLS {"_JNI_OnUnload@8", "JNI_OnUnload"}
#define JVM_ONLOAD_SYMBOLS {"_JVM_OnLoad@12", "JVM_OnLoad"}
@@ -108,10 +106,7 @@
* File I/O
*/
-// #include <sys/types.h>
-// #include <sys/stat.h>
-// #include <fcntl.h>
-// #include <errno.h>
+#include <sys/stat.h>
/* O Flags */