From a1f7455b975b0b14435c3e28a1e28af08a62977d 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.