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