Y
Hacker News
new
|
ask
|
show
|
jobs
by
tedunangst
3222 days ago
Another possibility is conditional compilation at the C level. thefile.c #includes thefile_unix.c or thefile_windows.c as appropriate.
1 comments
caf
3222 days ago
That doesn't really help situations like
"iconv is in libiconv on some systems, and is in libc on others"
though.
link