1.1 --- a/src/os/windows/vm/os_windows.hpp Tue Feb 08 22:27:57 2011 -0800 1.2 +++ b/src/os/windows/vm/os_windows.hpp Wed Feb 09 11:08:10 2011 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -38,6 +38,7 @@ 1.11 static size_t _default_stack_size; 1.12 static bool _is_nt; 1.13 static bool _is_windows_2003; 1.14 + static bool _is_windows_server; 1.15 1.16 public: 1.17 // Windows-specific interface: 1.18 @@ -64,6 +65,9 @@ 1.19 // Tells whether the platform is NT or Windown95 1.20 static bool is_nt() { return _is_nt; } 1.21 1.22 + // Tells whether this is a server version of Windows 1.23 + static bool is_windows_server() { return _is_windows_server; } 1.24 + 1.25 // Tells whether the platform is Windows 2003 1.26 static bool is_windows_2003() { return _is_windows_2003; } 1.27