Closed jdart1 closed 8 years ago
Note: this only works with MSVC in C++ mode (/TP flag) because of lack of C99 support. At least this is true in VC++ 2012.
Thanks; it looks OK but I cannot test MSVC ATM.
Most of my code is C99, but should compile as c++ in MSVC as you say.
_WIN32
not__WIN32__
to detect Windows/MSVC<unistd.h>
if Windows