Browse Source

Add missing isblank function in libmodplug.

rude 12 years ago
parent
commit
fecad30edc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libs/libmodplug-0.8.8.4/src/load_pat.cpp

+ 1 - 0
libs/libmodplug-0.8.8.4/src/load_pat.cpp

@@ -39,6 +39,7 @@
 #endif
 #endif
 #ifndef PATH_MAX
 #ifndef PATH_MAX
 #define PATH_MAX 256
 #define PATH_MAX 256
+static bool isblank(char c) { return c == ' ' || c == '\t'; }
 #endif
 #endif
 
 
 #ifdef NEWMIKMOD
 #ifdef NEWMIKMOD