From 77c87dcc24ff99c7941cf4b747c9a08addd543c6 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 22 Jun 2009 21:42:28 +0000 Subject: [PATCH] Linux build fix. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@884 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- buttons.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buttons.c b/buttons.c index ec5eecd0..a68c76af 100644 --- a/buttons.c +++ b/buttons.c @@ -958,6 +958,11 @@ void Button_Settings(void) Set_number_of_backups(Config.Max_undo_pages); } +// POSIX calls it strcasecmp, Windows uses stricmp... no ANSI standard. +#ifdef __linux__ + #define stricmp strcasecmp +#endif + // Add a skin to the list void Add_skin(const char *name) {