fix 3rdparty warnings.

pull/3012/head
kimkulling 2020-03-20 09:49:36 +01:00
parent 2ee948eb84
commit ac3f08a4d8
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -15,6 +15,10 @@
#include <string.h>
#include <sys/types.h>
#ifdef _WIN32
#pragma warning(disable : 4127 )
#endif //_WIN32
#ifdef __cplusplus
extern "C" {
#endif