Mercurial > hg > graal-compiler
comparison src/os/windows/vm/jvm_windows.h @ 6833:ba8fd2fe198b
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
author | coleenp |
---|---|
date | Thu, 04 Oct 2012 08:38:06 -0400 |
parents | ec15e8f6e4f1 |
children |
comparison
equal
deleted
inserted
replaced
6832:fab6fbf427d2 | 6833:ba8fd2fe198b |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
59 | 59 |
60 #include <Tlhelp32.h> | 60 #include <Tlhelp32.h> |
61 | 61 |
62 typedef int socklen_t; | 62 typedef int socklen_t; |
63 | 63 |
64 // #include "jni.h" | |
65 | |
66 #define JNI_ONLOAD_SYMBOLS {"_JNI_OnLoad@8", "JNI_OnLoad"} | 64 #define JNI_ONLOAD_SYMBOLS {"_JNI_OnLoad@8", "JNI_OnLoad"} |
67 #define JNI_ONUNLOAD_SYMBOLS {"_JNI_OnUnload@8", "JNI_OnUnload"} | 65 #define JNI_ONUNLOAD_SYMBOLS {"_JNI_OnUnload@8", "JNI_OnUnload"} |
68 #define JVM_ONLOAD_SYMBOLS {"_JVM_OnLoad@12", "JVM_OnLoad"} | 66 #define JVM_ONLOAD_SYMBOLS {"_JVM_OnLoad@12", "JVM_OnLoad"} |
69 #define AGENT_ONLOAD_SYMBOLS {"_Agent_OnLoad@12", "Agent_OnLoad"} | 67 #define AGENT_ONLOAD_SYMBOLS {"_Agent_OnLoad@12", "Agent_OnLoad"} |
70 #define AGENT_ONUNLOAD_SYMBOLS {"_Agent_OnUnload@4", "Agent_OnUnload"} | 68 #define AGENT_ONUNLOAD_SYMBOLS {"_Agent_OnUnload@4", "Agent_OnUnload"} |
106 | 104 |
107 /* | 105 /* |
108 * File I/O | 106 * File I/O |
109 */ | 107 */ |
110 | 108 |
111 // #include <sys/types.h> | 109 #include <sys/stat.h> |
112 // #include <sys/stat.h> | |
113 // #include <fcntl.h> | |
114 // #include <errno.h> | |
115 | 110 |
116 /* O Flags */ | 111 /* O Flags */ |
117 | 112 |
118 #define JVM_O_RDONLY O_RDONLY | 113 #define JVM_O_RDONLY O_RDONLY |
119 #define JVM_O_WRONLY O_WRONLY | 114 #define JVM_O_WRONLY O_WRONLY |