From 0cdfc207b5104be44b5f95c20e01a3a3b920fda1 Mon Sep 17 00:00:00 2001 From: Claude Heiland-Allen Date: Tue, 5 Dec 2023 13:32:56 +0000 Subject: [PATCH] add alternative for _strnicmp on non-Windows --- Source/Ember/Utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Ember/Utils.h b/Source/Ember/Utils.h index 0ce97aa..7d81721 100644 --- a/Source/Ember/Utils.h +++ b/Source/Ember/Utils.h @@ -2,6 +2,10 @@ #include "Isaac.h" +#ifndef _WIN32 +#define _strnicmp strncasecmp +#endif + /// /// Global utility classes and functions that don't really fit anywhere else, but are /// too small to justify being in their own file.