equal
deleted
inserted
replaced
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; |