diff --git a/java/shujit/files/patch-compiler.h b/java/shujit/files/patch-compiler.h index d023be143ac0..e09936351590 100644 --- a/java/shujit/files/patch-compiler.h +++ b/java/shujit/files/patch-compiler.h @@ -8,7 +8,7 @@ $FreeBSD$ // Additional type definition -#if !(defined(_ILP32) || defined(_LP64) || defined(_SYS_INTTYPES_H_) /* for FreeBSD */) -+#if !(defined(_ILP32) || defined(_LP64) || !defined(_SYS_INTTYPES_H_) /* for FreeBSD */) ++#if !(defined(_ILP32) || defined(_LP64) || defined(__FreeBSD__)) # ifndef _UINT16_T # define _UINT16_T typedef unsigned short uint16_t;