Martin Spott: Use standardized Sun directive.
This commit is contained in:
parent
29f47dee24
commit
f057fd0d48
5 changed files with 5 additions and 5 deletions
|
@ -193,7 +193,7 @@ network_LIBS="$LIBS"
|
|||
LIBS=""
|
||||
|
||||
dnl check for some default libraries
|
||||
AC_SEARCH_LIBS(cos, m)
|
||||
AC_SEARCH_LIBS(cos, [fastm m])
|
||||
AC_SEARCH_LIBS(dlclose, dl)
|
||||
|
||||
base_LIBS="$LIBS"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#ifdef _MSC_VER
|
||||
# include <float.h>
|
||||
# define finite _finite
|
||||
#elif defined(sun) || defined(sgi)
|
||||
#elif defined(__sun) || defined(sgi)
|
||||
# include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
#include <Main/fg_props.hxx>
|
||||
#include <Scenery/scenery.hxx>
|
||||
|
||||
#if defined ( __sun__ ) || defined ( __sgi )
|
||||
#if defined (__sun) || defined ( __sgi )
|
||||
extern "C" {
|
||||
extern void *memmove(void *, const void *, size_t);
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
using namespace std;
|
||||
|
||||
// text color
|
||||
#if defined(__linux__) || defined( __sun__ ) || defined(__CYGWIN__) \
|
||||
#if defined(__linux__) || defined(__sun) || defined(__CYGWIN__) \
|
||||
|| defined( __FreeBSD__ ) || defined ( sgi )
|
||||
# define R "\033[31;1m" // red
|
||||
# define G "\033[32;1m" // green
|
||||
|
|
|
@ -75,7 +75,7 @@ time_t get_start_gmt(int year) {
|
|||
#else // ! defined ( MK_TIME_IS_GMT )
|
||||
|
||||
// timezone seems to work as a proper offset for Linux & Solaris
|
||||
# if defined( __linux__ ) || defined( __sun__ ) || defined( __CYGWIN__ )
|
||||
# if defined( __linux__ ) || defined(__sun) || defined( __CYGWIN__ )
|
||||
# define TIMEZONE_OFFSET_WORKS 1
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue