From 10e698ace1542d5351935fcb5216af5514a4f7b0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 13 Nov 2008 22:36:25 +0000 Subject: -- 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 --- nbench0.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nbench0.c') 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" -- cgit v1.2.3