Martin Spott: Use standardized Sun directive.
This commit is contained in:
+1
-1
@@ -324,7 +324,7 @@
|
|||||||
#endif // Native SGI compilers
|
#endif // Native SGI compilers
|
||||||
|
|
||||||
|
|
||||||
#if defined ( sun )
|
#if defined (__sun)
|
||||||
# include <strings.h>
|
# include <strings.h>
|
||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
# if defined ( __cplusplus )
|
# if defined ( __cplusplus )
|
||||||
|
|||||||
@@ -530,7 +530,7 @@ time_t sgTimeGetGMT(int year, int month, int day, int hour, int min, int sec)
|
|||||||
#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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user