blob: f3e1148ee08a0cb223dd3c1c78e9fa03794ba0e3 (
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
|
--- misc.h.orig Fri Mar 16 06:42:14 2007
+++ misc.h Fri Mar 16 06:43:02 2007
@@ -35,7 +35,7 @@
/* -------- */
/* Includes */
/* -------- */
-#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX)
+#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX || FreeBSD)
#ifndef NDEBUG /* These are only needed if Assert() expands to something */
#include <stdio.h> /* fprintf(), stderr */
#include <unistd.h> /* pause() */
@@ -60,7 +60,7 @@
/* --------- */
/* Constants */
/* --------- */
-#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX)
+#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX || FreeBSD)
#define MILLION 1000000LL /* 10^6, as opposed to 2^20 */
#define BILLION 1000000000LL /* 10^9, as opposed to 2^30 */
#define TRILLION 1000000000000LL /* 10^12, as opposed to 2^40 */
@@ -77,7 +77,7 @@
#ifndef LLONG_MIN
#define LLONG_MIN (-LLONG_MAX - 1LL)
#endif
-#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX)
+#if (LINUX || AIX || IRIX || SOLARIS || HPUX || ALTIX || OSX || FreeBSD)
#ifndef LONGLONG_MIN
#define LONGLONG_MIN LLONG_MIN
#endif
|