1
0
mirror of https://github.com/simh/simh.git synced 2026-02-03 15:13:56 +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

@@ -861,7 +861,7 @@ return;
#elif defined (__unix__) || defined(__APPLE__)
#if defined(__linux__)
#if defined(__linux) || defined(__linux__)
#include <dirent.h>
#include <libgen.h>
#include <unistd.h>
@@ -887,7 +887,7 @@ int port;
int ports = 0;
memset(list, 0, max*sizeof(*list));
#if defined(__linux__)
#if defined(__linux) || defined(__linux__)
if (1) {
struct dirent **namelist;
struct stat st;