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
1161 /* wint_t is unsigned int by default, but (signed) int on BSDs1161 /* wint_t is unsigned int by default, but (signed) int on BSDs
1162 and unsigned short on windows. Other OSes might have still1162 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#else1166#else
1167 tcc_define_symbol(s, "__WINT_TYPE__", "unsigned int");1167 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