![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
| View Poll Results: Would you play OpenSSN on Windows? | |||
| Yes, please make OpenSSN available on Windows |
|
14 | 93.33% |
| No, I already have subsims I like on Windows |
|
1 | 6.67% |
| I don't use Windows |
|
0 | 0% |
| Voters: 15. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
09-04-11, 12:17 PM
|
#16 |
|
Commander
![]() Join Date: Aug 2011
Location: Nuclear submarine under the North Pole
Posts: 469
Downloads: 1
Uploads: 0
|
You can just redefine them with a precompiler statement.
#if _MSC_VER #define snprintf _snprintf #define strncmp _strnicmp #endif Etc... This will be ignored by the linux compilers and will properly replace the functions under MSVC |
|
|
|
|
