1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

Changed all internal #ifdef's which were conditional on __linux to be conditional on either __linux or __linux__. Some platforms (PPC) don't define __linux when gcc is invoked with -std=c99.

This commit is contained in:
Mark Pizzolato
2013-02-20 21:57:02 -08:00
parent 952f29e205
commit 4ff56d6c15
7 changed files with 12 additions and 12 deletions

View File

@@ -1864,7 +1864,7 @@ _set_errno_from_status (GetLastError ());
return SCPE_IOERR;
}
#elif defined (__linux) || defined (__sun__)
#elif defined (__linux) || defined (__linux__) || defined (__sun__)
#include <sys/types.h>
#include <sys/stat.h>
@@ -3229,7 +3229,7 @@ errno = Status;
return hVHD;
}
#if defined(__CYGWIN__) || defined(VMS) || defined(__APPLE__) || defined(__linux)
#if defined(__CYGWIN__) || defined(VMS) || defined(__APPLE__) || defined(__linux) || defined(__linux__)
#include <unistd.h>
#endif
static void