Unified · Split
| @@ -1161,7 +1161,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 1160 unmodified lines | |||
| 1161 | /* wint_t is unsigned int by default, but (signed) int on BSDs | 1161 | /* wint_t is unsigned int by default, but (signed) int on BSDs |
| 1162 | and unsigned short on windows. Other OSes might have still | 1162 | and unsigned short on windows. Other OSes might have still |
| 1163 | other conventions, sigh. */ | 1163 | other conventions, sigh. */ |
| 1164 | #if defined(__FreeBSD__) || defined (__FreeBSD_kernel__) | 1164 | #if defined(__FreeBSD__) || defined (__FreeBSD_kernel__) || defined(__NetBSD__) |
| 1165 | tcc_define_symbol(s, "__WINT_TYPE__", "int"); | 1165 | tcc_define_symbol(s, "__WINT_TYPE__", "int"); |
| 1166 | #else | 1166 | #else |
| 1167 | tcc_define_symbol(s, "__WINT_TYPE__", "unsigned int"); | 1167 | tcc_define_symbol(s, "__WINT_TYPE__", "unsigned int"); |