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

@@ -82,7 +82,7 @@ from the X Consortium.
#include <stdint.h>
#include "_fallibint.h"
#include "_fallcint.h"
#if defined(linux)
#if defined(__linux__)
#include <locale.h>
#else
#include <X11/Xlocale.h>

View File

@@ -98,7 +98,7 @@ pragma on(alloca);
#if defined(__GNUC__)
#if !defined(linux)
#if !defined(__linux__)
#define alloca ___builtin_alloca
#endif
#define ALLOCATE_LOCAL(size) alloca((int)(size))