]> mj.ucw.cz Git - pciutils.git/blobdiff - lib/sysdep.h
Names: Fixed a rare bug in loading of pci.ids
[pciutils.git] / lib / sysdep.h
index 1986d9f41c59d0f4a60ec4c88be022f16de0c2e0..750203573f006dd1b088a00e0ec4f788ece2ee15 100644 (file)
@@ -3,7 +3,9 @@
  *
  *     Copyright (c) 1997--2020 Martin Mares <mj@ucw.cz>
  *
- *     Can be freely distributed and used under the terms of the GNU GPL.
+ *     Can be freely distributed and used under the terms of the GNU GPL v2+
+ *
+ *     SPDX-License-Identifier: GPL-2.0-or-later
  */
 
 #ifdef __GNUC__
@@ -22,6 +24,7 @@ typedef u16 word;
 
 #ifdef PCI_OS_WINDOWS
 #define strcasecmp _strcmpi
+#define strncasecmp _strnicmp
 #if defined(_MSC_VER) && _MSC_VER < 1900
 #define snprintf _snprintf
 #define vsnprintf _vsnprintf