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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user