From 295d324e80d01200561259ea83ad37d085f6598d Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Sun, 9 Jan 2011 09:24:54 -0500 Subject: [PATCH] add ifndef protection to header files --- strfuncs.h | 2 ++ vaghandler.h | 3 +++ 2 files changed, 5 insertions(+) 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 -- 2.39.5