Use POSIX macros for linux

This commit is contained in:
chase
2018-05-24 16:24:41 -05:00
committed by Jon Trulson
parent 164e695cd0
commit 4f5e7fe5e3
265 changed files with 394 additions and 394 deletions

View File

@@ -109,7 +109,7 @@
#if _hdr_wchar && _lib_wctype && _lib_iswctype
/* on linux wchar.h can include FILE without stdio.h which clashes with sfio_t */
#if defined(linux)
#if defined(__linux__)
#ifndef __FILE_defined
#define __FILE_defined 1
#endif

View File

@@ -95,7 +95,7 @@
#include "defs.h"
#include <fcin.h>
/* on linux pwd.h can include FILE without stdio.h which clashes with sfio_t */
#if defined(linux)
#if defined(__linux__)
#ifndef __FILE_defined
#define __FILE_defined 1
#endif