Use POSIX macros for linux
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user