Solaris fixes
This commit is contained in:
parent
97811e8832
commit
408dcc38b1
4 changed files with 5 additions and 15 deletions
|
@ -36,6 +36,8 @@
|
|||
#ifdef _MSC_VER
|
||||
# include <float.h>
|
||||
# define finite _finite
|
||||
#elif defined(sun) || defined(sgi)
|
||||
# include <ieeefp.h>
|
||||
#endif
|
||||
|
||||
SG_USING_STD(string);
|
||||
|
|
|
@ -21,15 +21,11 @@
|
|||
|
||||
#ifdef HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#elif defined( _MSC_VER ) || defined(__MINGW32__)
|
||||
typedef signed char int8_t;
|
||||
#elif defined( _MSC_VER ) || defined(__MINGW32__) || defined(sun)
|
||||
typedef signed short int16_t;
|
||||
typedef signed int int32_t;
|
||||
typedef signed __int64 int64_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#else
|
||||
# error "Port me! Platforms that don't have <stdint.h> need to define int8_t, et. al."
|
||||
#endif
|
||||
|
|
|
@ -23,15 +23,11 @@
|
|||
|
||||
#ifdef HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#elif defined( _MSC_VER ) || defined(__MINGW32__)
|
||||
typedef signed char int8_t;
|
||||
#elif defined( _MSC_VER ) || defined(__MINGW32__) || defined(sun)
|
||||
typedef signed short int16_t;
|
||||
typedef signed int int32_t;
|
||||
typedef signed __int64 int64_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#else
|
||||
# error "Port me! Platforms that don't have <stdint.h> need to define int8_t, et. al."
|
||||
#endif
|
||||
|
|
|
@ -20,15 +20,11 @@
|
|||
|
||||
#ifdef HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#elif defined( _MSC_VER ) || defined(__MINGW32__)
|
||||
typedef signed char int8_t;
|
||||
#elif defined( _MSC_VER ) || defined(__MINGW32__) || defined(sun)
|
||||
typedef signed short int16_t;
|
||||
typedef signed int int32_t;
|
||||
typedef signed __int64 int64_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
#else
|
||||
# error "Port me! Platforms that don't have <stdint.h> need to define int8_t, et. al."
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue