![]() |
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 |
![]() |
#8 |
Captain
![]() Join Date: Aug 2011
Location: Nuclear submarine under the North Pole
Posts: 481
Downloads: 1
Uploads: 0
|
![]()
OK thus far the biggest problems in getting openSSN to compile under MSVC are its use of non-standard C functions.
The biggest offenders are strcasestr and snprintf. They're not in the C89 standard (which MSVC uses). I'm working around them at the moment with macros. The other offender is "unistd.h" which is a unix-only header file. I've gotten around this with #ifndef WIN32..#endif preventing the compiler from attempting to include the header. MSVC supports the types defined in it natively. |
![]() |
![]() |
|
|