| 1 | //* Partial strings.h implementation for Windows. |
| 2 | // |
| 3 | // Copyright (c) 2023 by Adrian Welcker |
| 4 | // |
| 5 | // This file is part of Gargoyle. |
| 6 | // |
| 7 | // Gargoyle is free software; you can redistribute it and/or modify |
| 8 | // it under the terms of the GNU General Public License as published by |
| 9 | // the Free Software Foundation; either version 2 of the License, or |
| 10 | // (at your option) any later version. |
| 11 | // |
| 12 | // Gargoyle is distributed in the hope that it will be useful, |
| 13 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | // GNU General Public License for more details. |
| 16 | // |
| 17 | // You should have received a copy of the GNU General Public License |
| 18 | // along with Gargoyle; if not, write to the Free Software |
| 19 | // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 | |
| 21 | #pragma once |
| 22 | |
| 23 | #ifndef GARGLK_WIN32_STRINGS_H |
| 24 | #define GARGLK_WIN32_STRINGS_H |
| 25 | |
| 26 | #include <string.h> |
| 27 | #define strcasecmp _stricmp |
| 28 | #define strncasecmp _strnicmp |
| 29 | |
| 30 | #endif // !GARGLK_WIN32_STRINGS_H |