diff options
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 */ |