History

Define __WINT_TYPE__ as int in NetBSD

Kamil Rytarowski committed 11 years ago

Commit 6cb74ec1 parent 5860b631 file · +1 −1Browse files

Unified · Split

libtcc.c+1−1
@@ -1161,7 +1161,7 @@ LIBTCCAPI TCCState *tcc_new(void) · 1160 unmodified lines
11611161 /* wint_t is unsigned int by default, but (signed) int on BSDs
11621162 and unsigned short on windows. Other OSes might have still
11631163 other conventions, sigh. */
1164−#if defined(__FreeBSD__) || defined (__FreeBSD_kernel__)
1164+#if defined(__FreeBSD__) || defined (__FreeBSD_kernel__) || defined(__NetBSD__)
11651165 tcc_define_symbol(s, "__WINT_TYPE__", "int");
11661166 #else
11671167 tcc_define_symbol(s, "__WINT_TYPE__", "unsigned int");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t