]> Chaos Git - console/RCOMage.git/commitdiff
add ifndef protection to header files
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Sun, 9 Jan 2011 14:24:54 +0000 (09:24 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Sun, 9 Jan 2011 14:24:54 +0000 (09:24 -0500)
strfuncs.h
vaghandler.h

index b322d238c214c695dbe725a13692888931056d5f..513a5f27507bd4e95cb171e83fbf96a34373d3ea 100644 (file)
@@ -10,7 +10,9 @@
 // stupid MSVC
 #include <string.h>
 #ifdef WIN32
+#ifndef strcasecmp
 #define strcasecmp _stricmp
+#endif
 #else
 #include <strings.h>
 #endif
index 0c3d8c13fd84131318ca2601ec803ea79da17139..b77d161eef73da5d3371e1d9faebc673521640a6 100644 (file)
@@ -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