sourcepawn/compiler/sclinux.h
changeset 3885 bb6de8c6c2d5
parent 2783 5f333027ef04
     1.1 --- a/sourcepawn/compiler/sclinux.h	Wed Apr 03 12:26:08 2013 -0400
     1.2 +++ b/sourcepawn/compiler/sclinux.h	Fri Apr 05 07:03:43 2013 +0100
     1.3 @@ -16,8 +16,6 @@
     1.4   */
     1.5  #include "getch.h"
     1.6  
     1.7 -#define	strnicmp(a,b,c) strncasecmp(a,b,c)
     1.8 -
     1.9  /*
    1.10   * WinWorld wants '\'. Unices do not.
    1.11   */
    1.12 @@ -30,7 +28,11 @@
    1.13   * For Linux, we must overrule these settings with those defined in glibc.
    1.14   */
    1.15  #if !defined __BYTE_ORDER
    1.16 -# include <stdlib.h>
    1.17 +# if defined EMSCRIPTEN
    1.18 +#  include <endian.h>
    1.19 +# else
    1.20 +#  include <stdlib.h>
    1.21 +# endif
    1.22  #endif
    1.23  
    1.24  #if defined __OpenBSD__ || defined __FreeBSD__ || defined __APPLE__