diff options
Diffstat (limited to 'dom/plugins/base/nptypes.h')
-rw-r--r-- | dom/plugins/base/nptypes.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dom/plugins/base/nptypes.h b/dom/plugins/base/nptypes.h index 12a5fb78e..d0cef6540 100644 --- a/dom/plugins/base/nptypes.h +++ b/dom/plugins/base/nptypes.h @@ -22,18 +22,19 @@ typedef unsigned int uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; -#elif defined(_AIX) || defined(__sun) || defined(__osf__) || defined(IRIX) || defined(HPUX) +#elif defined(__sun) /* - * AIX and SunOS ship a inttypes.h header that defines [u]int32_t, + * SunOS ships an inttypes.h header that defines [u]int32_t, * but not bool for C. */ #include <inttypes.h> + #ifndef __cplusplus typedef int bool; #define true 1 #define false 0 - #endif + #endif #elif defined(bsdi) || defined(FREEBSD) || defined(OPENBSD) /* * BSD/OS, FreeBSD, and OpenBSD ship sys/types.h that define int32_t and |