From 0cee740c95496210d62206a21e8bc9adebf4fa4d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 17 Jan 2017 16:13:54 +0100 Subject: replace #ifdef SOLARIS with #ifdef __sun Check for a macro that is defined by the compiler, we don't really need one defined by the build system. Change-Id: Iccb8e3198396881395c97a6b81690ebe64b7e9d2 --- external/neon/configs/config.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'external/neon') diff --git a/external/neon/configs/config.h b/external/neon/configs/config.h index 996f74412af2..a2e0c8d9e4bc 100644 --- a/external/neon/configs/config.h +++ b/external/neon/configs/config.h @@ -488,7 +488,7 @@ /* #undef SIZEOF_XML_SIZE */ /* Define to 1 if you have the ANSI C header files. */ -#ifdef SOLARIS +#ifdef __sun #define STDC_HEADERS 1 #endif @@ -530,7 +530,7 @@ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined (SOLARIS) && defined (SPARC) +#if defined (__sun) && defined (SPARC) #define WORDS_BIGENDIAN 1 #endif @@ -556,7 +556,7 @@ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus -#if defined (SOLARIS) && defined (__SUNPRO_C) +#if defined (__sun) && defined (__SUNPRO_C) #define inline #endif #endif -- cgit