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

@@ -777,7 +777,7 @@ return newsock; /* got it! */
SOCKET sim_accept_conn (SOCKET master, char **connectaddr)
{
int32 sta, err;
#if defined (macintosh) || defined (__linux) || \
#if defined (macintosh) || defined (__linux) || defined (__linux__) || \
defined (__APPLE__) || defined (__OpenBSD__) || \
defined(__NetBSD__) || defined(__FreeBSD__)
socklen_t size;