Browse Source

added (hack) check for GLOB_NOMATCH

Dave Schuyler 22 years ago
parent
commit
f10f166229
1 changed files with 4 additions and 1 deletions
  1. 4 1
      ppremake/filename.cxx

+ 4 - 1
ppremake/filename.cxx

@@ -34,7 +34,10 @@
 #endif
 
 #ifdef HAVE_GLOB_H
-#include <glob.h>
+  #include <glob.h>
+  #ifndef GLOB_NOMATCH
+    #define GLOB_NOMATCH -3
+  #endif
 #endif
 
 #ifdef HAVE_DIRENT_H