mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Changed uses of cpp macro LINUX to linux. The former was defined by the old build system, but the latter is defined by the compiler. LINUX is not used in autoconf
This commit is contained in:
parent
fd42334be0
commit
a10798b539
@ -35,7 +35,7 @@ CPU_ARCH = x86
|
||||
endif
|
||||
GFX_ARCH = x
|
||||
|
||||
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DLINUX
|
||||
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE
|
||||
OS_LIBS = -lm -lc
|
||||
|
||||
ASFLAGS += -x assembler-with-cpp
|
||||
|
@ -57,12 +57,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef linux
|
||||
#ifndef LINUX
|
||||
# error "LINUX is not defined"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef bsdi
|
||||
#ifndef BSDI
|
||||
# error "BSDI is not defined"
|
||||
|
@ -345,7 +345,7 @@
|
||||
#define PR_WORDS_PER_DWORD_LOG2 1L
|
||||
|
||||
|
||||
#elif defined(LINUX)
|
||||
#elif defined(linux)
|
||||
|
||||
#ifdef __powerpc__
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
|
@ -62,7 +62,7 @@ JS_END_EXTERN_C
|
||||
#elif defined(IRIX)
|
||||
#define HAVE_LONG_LONG
|
||||
|
||||
#elif defined(LINUX)
|
||||
#elif defined(linux)
|
||||
#undef HAVE_LONG_LONG
|
||||
|
||||
#elif defined(OSF1)
|
||||
|
Loading…
Reference in New Issue
Block a user