ports/java/shujit/files/patch-compiler.h
2002-04-26 17:29:54 +00:00

30 lines
836 B
C

$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