summaryrefslogtreecommitdiff
path: root/nbench0.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-13 22:36:25 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-13 22:36:25 +0000
commit10e698ace1542d5351935fcb5216af5514a4f7b0 (patch)
tree666506f000166f71f5184446be1b7dc930323fac /nbench0.c
parent8a9fd3f93bb3db2d969126913eedab023dba013f (diff)
-- Replace LINUX define with standard __linux__
-- Remove more useless prototypes from useless nbench1.h git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@18 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'nbench0.c')
-rw-r--r--nbench0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbench0.c b/nbench0.c
index 0990baf..c60fb80 100644
--- a/nbench0.c
+++ b/nbench0.c
@@ -159,7 +159,7 @@ if(global_allstats)
sizeof(uint16_t),
sizeof(uint32_t),
sizeof(int32_t));
-#ifdef LINUX /* FIXME: do this a better way */
+#ifdef __linux__
#include "sysinfo.c"
#else
printf("**%s\n",sysname);
@@ -237,7 +237,7 @@ if(global_custrun==0)
printf("FLOATING-POINT INDEX: %.3f\n",
pow(fpindex,(double).33333));
puts("Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0");
-#ifdef LINUX
+#ifdef __linux__
puts("==============================LINUX DATA BELOW===============================");
hardware(write_to_file, global_ofile);
#include "sysinfoc.c"