chore(cpn): build for Windows with Visual Studio (#6476)
This commit is contained in:
@@ -22,6 +22,11 @@
|
||||
#include <cinttypes>
|
||||
#include <stdarg.h>
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#define strcasecmp _stricmp
|
||||
#define strncasecmp _strnicmp
|
||||
#endif
|
||||
|
||||
const char * getFileExtension(const char * filename, uint8_t size, uint8_t extMaxLen, uint8_t * fnlen, uint8_t * extlen)
|
||||
{
|
||||
int len = size;
|
||||
|
||||
Reference in New Issue
Block a user