diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-13 22:36:25 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-13 22:36:25 +0000 |
commit | 10e698ace1542d5351935fcb5216af5514a4f7b0 (patch) | |
tree | 666506f000166f71f5184446be1b7dc930323fac /sysspec.c | |
parent | 8a9fd3f93bb3db2d969126913eedab023dba013f (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 'sysspec.c')
-rw-r--r-- | sysspec.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -140,7 +140,7 @@ close(fhandle); return; #endif -#ifdef LINUX +#ifdef __linux__ FILE *fhandle; /* File handle used internally */ fhandle=fopen(filename,"w"); @@ -189,7 +189,7 @@ return(fhandle); #endif -#ifdef LINUX +#ifdef __linux__ FILE *bmOpenFile(char *fname, /* File name */ int *errorcode) /* Error code returned */ @@ -227,7 +227,7 @@ close(fhandle); return; } #endif -#ifdef LINUX +#ifdef __linux__ void CloseFile(FILE *fhandle, /* File handle */ int *errorcode) /* Returned error code */ { @@ -283,7 +283,7 @@ if(readcode==-1) return; } #endif -#ifdef LINUX +#ifdef __linux__ void readfile(FILE *fhandle, /* File handle */ unsigned long offset, /* Offset into file */ unsigned long nbytes, /* # of bytes to read */ @@ -368,7 +368,7 @@ return; } #endif -#ifdef LINUX +#ifdef __linux__ void writefile(FILE *fhandle, /* File handle */ unsigned long offset, /* Offset into file */ |