History

Linux was incorrectly identified in banner when compiled on macOS Darwin

Christian Jullien committed 9 years ago

Commit 20682941 parent bb930641 file · +2 −0Browse files

Unified · Split

tcc.c+2−0
@@ -160,6 +160,8 @@ static const char version[] = · 159 unmodified lines
160160 " Windows"
161161 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
162162 " FreeBSD"
163+#elif defined(__APPLE__)
164+ " Darwin"
163165 #else
164166 " Linux"
165167 #endif

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