summaryrefslogtreecommitdiff
path: root/java/shujit/files/patch-compiler.h
blob: 18a07c2daa6ba8f3db49b6d12eed44f036cf7401 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$FreeBSD$

--- compiler.h	2002/04/26 17:13:45	1.1
+++ compiler.h	2002/04/26 17:17:19
@@ -18,7 +18,7 @@
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-  $Id: compiler.h,v 1.1 2002/04/26 17:13:45 root Exp root $
+  $Id: compiler.h,v 1.1 2002/04/26 17:13:45 root Exp $
 */
 
 #ifndef _COMPILER_H_
@@ -61,13 +61,13 @@
 // Additional type definition
 
 #if !(defined(_ILP32) || defined(_LP64))
-#  ifndef _UINT16_T
+#  if !defined(_UINT16_T) && !defined(_UINT16_T_DECLARED)
 #    define _UINT16_T
 typedef unsigned short uint16_t;
 #    endif	// _UINT16_T
 
 #  ifndef __BIT_TYPES_DEFINED__
-#    ifndef _INT16_T
+#    if !defined(_INT16_T) && !defined(_INT16_T_DECLARED)
 #      define _INT16_T
 typedef short int16_t;
 #    endif	// _INT16_T