X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsysdep.h;h=750203573f006dd1b088a00e0ec4f788ece2ee15;hb=06f9ecf36e529695feea35038e15233dffe37bb7;hp=1986d9f41c59d0f4a60ec4c88be022f16de0c2e0;hpb=4e6fd387fe9444fb6872b1ab106a194c5edf3618;p=pciutils.git diff --git a/lib/sysdep.h b/lib/sysdep.h index 1986d9f..7502035 100644 --- a/lib/sysdep.h +++ b/lib/sysdep.h @@ -3,7 +3,9 @@ * * Copyright (c) 1997--2020 Martin Mares * - * 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