diff --git a/posix.cc b/posix.cc index c3aabffc..945fe95b 100644 --- a/posix.cc +++ b/posix.cc @@ -25,6 +25,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +// Disable bogus MSVC warnings. +#define _CRT_SECURE_NO_WARNINGS + #include "posix.h" #include @@ -34,7 +37,6 @@ #ifndef _WIN32 # include #else -# define _CRT_SECURE_NO_WARNINGS # include # include