From: Youness Alaoui Date: Sun, 9 Jan 2011 14:24:54 +0000 (-0500) Subject: add ifndef protection to header files X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=295d324e80d01200561259ea83ad37d085f6598d;p=console%2FRCOMage.git add ifndef protection to header files --- diff --git a/strfuncs.h b/strfuncs.h index b322d23..513a5f2 100644 --- a/strfuncs.h +++ b/strfuncs.h @@ -10,7 +10,9 @@ // stupid MSVC #include #ifdef WIN32 +#ifndef strcasecmp #define strcasecmp _stricmp +#endif #else #include #endif diff --git a/vaghandler.h b/vaghandler.h index 0c3d8c1..b77d161 100644 --- a/vaghandler.h +++ b/vaghandler.h @@ -7,6 +7,9 @@ * License ("LGPL") version 2.1, as published by the Free Software Foundation. */ +#ifndef __VAGHANDLER__ +#define __VAGHANDLER__ #include "general.h" uint8_t vag2wav (const char *fWav, int numChannels, int *vagLen, void **vagData); int wav2vag (const char *fWav, uint32_t * len, void **vagData, const char *vagName); +#endif