Skip to content

Commit e4e2cdf

Browse files
committed
IOSS: Add missing strncasecmp fix from latest PR
1 parent 1722ecf commit e4e2cdf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/seacas/libraries/ioss/src/text_mesh/Iotm_TextMeshFuncs.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright(C) 1999-2020, 2022, 2023 National Technology & Engineering Solutions
1+
// Copyright(C) 1999-2020, 2022, 2023, 2025 National Technology & Engineering Solutions
22
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
33
// NTESS, the U.S. Government retains certain rights in this software.
44

@@ -19,6 +19,14 @@
1919
#include <stdexcept>
2020
#include <numeric>
2121

22+
#if defined(_WIN32) && !defined(__MINGW32__)
23+
#include <string.h>
24+
#define strcasecmp _stricmp
25+
#define strncasecmp _strnicmp
26+
#else
27+
#include <strings.h>
28+
#endif
29+
2230
// clang-format on
2331
// ####################### End Clang Header Tool Managed Headers ########################
2432
namespace Iotm {

0 commit comments

Comments
 (0)