Show More
@@ -14,15 +14,6 | |||
|
14 | 14 | |
|
15 | 15 | #include "util.h" |
|
16 | 16 | |
|
17 | /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ | |
|
18 | #ifdef _MSC_VER | |
|
19 | #define true 1 | |
|
20 | #define false 0 | |
|
21 | typedef unsigned char bool; | |
|
22 | #else | |
|
23 | #include <stdbool.h> | |
|
24 | #endif | |
|
25 | ||
|
26 | 17 | #define DEFAULT_LINES 100000 |
|
27 | 18 | |
|
28 | 19 | typedef struct { |
@@ -209,4 +209,13 static inline double getbefloat64(const | |||
|
209 | 209 | return ret; |
|
210 | 210 | } |
|
211 | 211 | |
|
212 | /* VC9 doesn't include bool and lacks stdbool.h based on my searching */ | |
|
213 | #ifdef _MSC_VER | |
|
214 | #define true 1 | |
|
215 | #define false 0 | |
|
216 | typedef unsigned char bool; | |
|
217 | #else | |
|
218 | #include <stdbool.h> | |
|
219 | #endif | |
|
220 | ||
|
212 | 221 | #endif /* _HG_UTIL_H_ */ |
General Comments 0
You need to be logged in to leave comments.
Login now