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:
fur%netscape.com 1998-10-14 20:27:15 +00:00
parent fd42334be0
commit a10798b539
4 changed files with 3 additions and 9 deletions

View File

@ -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

View File

@ -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"

View File

@ -345,7 +345,7 @@
#define PR_WORDS_PER_DWORD_LOG2 1L
#elif defined(LINUX)
#elif defined(linux)
#ifdef __powerpc__
#undef IS_LITTLE_ENDIAN

View File

@ -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)