jdk/src/share/native/com/sun/java/util/jar/pack/defines.h
changeset 12544 5768f2e096de
parent 12047 320a714614e9
child 13567 b124faa29aef
equal deleted inserted replaced
12543:b77bc2f404ba 12544:5768f2e096de
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 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.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   107 #define getpid()        _getpid()
   107 #define getpid()        _getpid()
   108 #define PATH_MAX        MAX_PATH
   108 #define PATH_MAX        MAX_PATH
   109 #define dup2(a,b)       _dup2(a,b)
   109 #define dup2(a,b)       _dup2(a,b)
   110 #define strcasecmp(s1, s2) _stricmp(s1,s2)
   110 #define strcasecmp(s1, s2) _stricmp(s1,s2)
   111 #define tempname        _tempname
   111 #define tempname        _tempname
   112 #define sleep Sleep
   112 #define sleep           Sleep
       
   113 #define snprintf        _snprintf
   113 #else
   114 #else
   114 typedef signed char byte;
   115 typedef signed char byte;
   115 #ifdef _LP64
   116 #ifdef _LP64
   116 typedef long jlong;
   117 typedef long jlong;
   117 typedef long unsigned julong;
   118 typedef long unsigned julong;