1
0
Fork 0

Martin Spott: Use standardized Sun directive.

This commit is contained in:
ehofman 2005-10-06 11:08:26 +00:00
parent 29f47dee24
commit f057fd0d48
5 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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

View file

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

View file

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