Use polyfills in MSYS2 environment

This commit is contained in:
Naoki Ikeguchi 2022-01-13 00:10:57 +09:00 committed by Andrew Gaul
parent 6aaf9433a5
commit b14e39815b
3 changed files with 15 additions and 0 deletions

View File

@ -37,6 +37,11 @@
#include "string_util.h"
#include "addhead.h"
// Use the polyfill in MSYS2 environment
#ifdef __MSYS__
#include "strcasestr.h"
#endif
//-------------------------------------------------------------------
// Symbols
//-------------------------------------------------------------------

View File

@ -28,6 +28,11 @@
#include "metaheader.h"
#include "string_util.h"
// Use the polyfill in MSYS2 environment
#ifdef __MSYS__
#include "strptime.h"
#endif
//-------------------------------------------------------------------
// Utility functions for convert
//-------------------------------------------------------------------

View File

@ -32,6 +32,11 @@
#include "s3fs.h"
#include "string_util.h"
// Use the polyfill in MSYS2 environment
#ifdef __MSYS__
#include "strptime.h"
#endif
//-------------------------------------------------------------------
// Global variables
//-------------------------------------------------------------------