src/share/vm/utilities/globalDefinitions_visCPP.hpp

changeset 9478
f3108e56b502
parent 7001
b6a8cc1e0d92
child 9572
624a0741915c
child 9858
b985cbb00e68
     1.1 --- a/src/share/vm/utilities/globalDefinitions_visCPP.hpp	Wed Aug 01 04:19:22 2018 -0400
     1.2 +++ b/src/share/vm/utilities/globalDefinitions_visCPP.hpp	Thu Aug 02 03:54:51 2018 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2018, 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 @@ -187,14 +187,6 @@
    1.11  #pragma warning( disable : 4996 ) // unsafe string functions. Same as define _CRT_SECURE_NO_WARNINGS/_CRT_SECURE_NO_DEPRICATE
    1.12  #endif
    1.13  
    1.14 -inline int vsnprintf(char* buf, size_t count, const char* fmt, va_list argptr) {
    1.15 -  // If number of characters written == count, Windows doesn't write a
    1.16 -  // terminating NULL, so we do it ourselves.
    1.17 -  int ret = _vsnprintf(buf, count, fmt, argptr);
    1.18 -  if (count > 0) buf[count-1] = '\0';
    1.19 -  return ret;
    1.20 -}
    1.21 -
    1.22  // Portability macros
    1.23  #define PRAGMA_INTERFACE
    1.24  #define PRAGMA_IMPLEMENTATION

mercurial