Allow for warning-free build of common with MS VC on warning level 3.

This commit is contained in:
Oliver Schmidt
2013-04-07 22:19:23 +02:00
parent 365668785c
commit ffb8595440
4 changed files with 12 additions and 6 deletions

View File

@@ -38,6 +38,7 @@
#if defined(_MSC_VER)
/* Microsoft compiler */
# include <io.h>
# pragma warning(disable : 4996)
#else
/* Anyone else */
# include <unistd.h>