From bed1df8237b7c1c1a17f5a523696b817c9f33342 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Wed, 10 Mar 2004 16:28:38 +0000 Subject: [PATCH] using __linux__ instead of LINUX --- amxmodx/amx.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/amxmodx/amx.h b/amxmodx/amx.h index d9671d44..c9642a82 100755 --- a/amxmodx/amx.h +++ b/amxmodx/amx.h @@ -10,9 +10,8 @@ * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * - * PM: Whole file changed */ -#if defined LINUX +#if defined __linux__ #include #endif #ifndef __AMX_H @@ -21,7 +20,7 @@ /* The ISO C99 defines the int16_t and int_32t types. If the compiler got * here, these types are probably undefined. */ - #if defined __LCC__ || defined LINUX + #if defined __LCC__ || defined __linux__ #include #else typedef short int int16_t; @@ -108,7 +107,7 @@ typedef int (AMXAPI *AMX_DEBUG)(struct tagAMX *amx); #define PACKED #endif #if !defined AMX_NO_ALIGN - #if defined LINUX + #if defined __linux__ #pragma pack(1) /* structures must be packed (byte-aligned) */ #else #pragma pack(push) @@ -297,7 +296,7 @@ int AMXAPI amx_SetUserData(AMX *amx, long tag, void *ptr); char * AMXAPI amx_StrError(int errnum); int AMXAPI amx_StrLen(cell *cstring, int *length); #if !defined AMX_NO_ALIGN - #if defined LINUX + #if defined __linux__ #pragma pack() /* reset default packing */ #else #pragma pack(pop) /* reset previous packing */