diff --git a/code/Assjson/cencode.h b/code/Assjson/cencode.h index c1e3464af..6bf76724e 100644 --- a/code/Assjson/cencode.h +++ b/code/Assjson/cencode.h @@ -8,6 +8,10 @@ For details, see http://sourceforge.net/projects/libb64 #ifndef BASE64_CENCODE_H #define BASE64_CENCODE_H +#ifdef _WIN32 +#pragma warning(disable : 4127 ) +#endif // _WIN32 + typedef enum { step_A, step_B, step_C diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h index cd3ab5cd0..807e328a8 100644 --- a/contrib/zip/src/zip.h +++ b/contrib/zip/src/zip.h @@ -15,6 +15,10 @@ #include #include +#ifdef _WIN32 +#pragma warning(disable : 4127 ) +#endif //_WIN32 + #ifdef __cplusplus extern "C" { #endif