equal
deleted
inserted
replaced
35 #include <float.h> |
35 #include <float.h> |
36 #include <pthread.h> |
36 #include <pthread.h> |
37 #include <string> |
37 #include <string> |
38 |
38 |
39 using namespace std; |
39 using namespace std; |
|
40 |
|
41 #ifndef MSVC |
|
42 # include <stdint.h> |
|
43 #else |
|
44 #ifndef _SDL_config_win32_h |
|
45 /* these stdint.h typedefs are not available in MSVC |
|
46 * but are defined in SDL_config_win32.h */ |
|
47 typedef __int8 int8_t; |
|
48 typedef __int16 int16_t; |
|
49 typedef __int32 int32_t; |
|
50 typedef __int64 int64_t; |
|
51 typedef unsigned __int8 uint8_t; |
|
52 typedef unsigned __int16 uint16_t; |
|
53 typedef unsigned __int32 uint32_t; |
|
54 typedef unsigned __int64 uint64_t; |
|
55 #endif |
|
56 #endif |
|
57 |
40 |
58 |
41 #ifdef PYRIT_DOUBLE |
59 #ifdef PYRIT_DOUBLE |
42 # define Float double |
60 # define Float double |
43 # define Eps DBL_EPSILON |
61 # define Eps DBL_EPSILON |
44 # define Inf DBL_MAX |
62 # define Inf DBL_MAX |