changeset 49051:f05f4b5cea20

8198558: Windows does not build without precompiled headers Reviewed-by: coleenp, mlarsson, lfoltan
author stuefe
date Thu, 22 Feb 2018 16:29:10 +0100
parents 170c7b36aea6
children 75f4ad82866c
files src/hotspot/os/windows/semaphore_windows.hpp src/hotspot/os/windows/sharedRuntimeRem.cpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/os/windows/semaphore_windows.hpp	Thu Feb 22 18:37:48 2018 +0100
+++ b/src/hotspot/os/windows/semaphore_windows.hpp	Thu Feb 22 16:29:10 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, 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
@@ -27,7 +27,7 @@
 
 #include "memory/allocation.hpp"
 
-#include <windef.h>
+#include <windows.h>
 
 class WindowsSemaphore : public CHeapObj<mtInternal> {
   HANDLE _semaphore;
--- a/src/hotspot/os/windows/sharedRuntimeRem.cpp	Thu Feb 22 18:37:48 2018 +0100
+++ b/src/hotspot/os/windows/sharedRuntimeRem.cpp	Thu Feb 22 16:29:10 2018 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+* Copyright (c) 2015, 2018, 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
@@ -23,6 +23,7 @@
 */
 
 #include "precompiled.hpp"
+#include "runtime/sharedRuntime.hpp"
 
 #ifdef _WIN64
 // These are copied defines from fdlibm.h, this allows us to keep the code