summaryrefslogtreecommitdiff
path: root/benchmarks/xdd/files/patch-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/xdd/files/patch-parse.c')
-rw-r--r--benchmarks/xdd/files/patch-parse.c31
1 files changed, 29 insertions, 2 deletions
diff --git a/benchmarks/xdd/files/patch-parse.c b/benchmarks/xdd/files/patch-parse.c
index a31bd2fa4820..a63e309619f2 100644
--- a/benchmarks/xdd/files/patch-parse.c
+++ b/benchmarks/xdd/files/patch-parse.c
@@ -1,5 +1,5 @@
---- parse.c.orig Fri Mar 16 07:10:44 2007
-+++ parse.c Fri Mar 16 07:11:44 2007
+--- parse.c.orig 2012-02-15 22:02:57.832134671 -0800
++++ parse.c 2012-02-15 22:02:57.878141191 -0800
@@ -810,7 +810,7 @@
xddfunc_delay(int32_t argc, char *argv[])
{
@@ -18,3 +18,30 @@
}
/*----------------------------------------------------------------------------*/
// Set the maximum runtime priority
+@@ -1448,7 +1448,7 @@
+ #if (LINUXUP || HPUX || OSX)
+ cpus = 1;
+ fprintf(xgp->errout,"%s: WARNING: Multiple processors not supported in this release\n",xgp->progname);
+-#elif (SOLARIS || AIX)
++#elif (SOLARIS || AIX || FreeBSD)
+ /* SOLARIS or AIX */
+ cpus = sysconf(_SC_NPROCESSORS_ONLN);
+ #elif (IRIX || WIN32)
+@@ -1764,7 +1764,7 @@
+ #if (LINUXUP || HPUX || OSX)
+ cpus = 1;
+ fprintf(xgp->errout,"%s: WARNING: Multiple processors not supported in this release\n",xgp->progname);
+-#elif (SOLARIS || AIX)
++#elif (SOLARIS || AIX || FreeBSD)
+ /* SOLARIS or AIX */
+ cpus = sysconf(_SC_NPROCESSORS_ONLN);
+ #elif (IRIX || WIN32)
+@@ -2057,7 +2057,7 @@
+ #if (LINUXUP || HPUX || OSX)
+ cpus = 1;
+ fprintf(xgp->errout,"%s: WARNING: Multiple processors not supported in this release\n",xgp->progname);
+-#elif (SOLARIS || AIX)
++#elif (SOLARIS || AIX || FreeBSD)
+ /* SOLARIS or AIX */
+ cpus = sysconf(_SC_NPROCESSORS_ONLN);
+ #elif (IRIX || WIN32)