Преглед на файлове

BUG: Fixed #if test for case-insensitive glob on OSX.

Brad King преди 19 години
родител
ревизия
0839e905c6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Source/kwsys/Glob.cxx

+ 1 - 1
Source/kwsys/Glob.cxx

@@ -39,7 +39,7 @@
 #include <string.h>
 #include <string.h>
 namespace KWSYS_NAMESPACE
 namespace KWSYS_NAMESPACE
 {
 {
-#if defined(_WIN32) || defined(APPLE) || defined(__CYGWIN__)
+#if defined(_WIN32) || defined(__APPLE__) || defined(__CYGWIN__)
 // On Windows and apple, no difference between lower and upper case
 // On Windows and apple, no difference between lower and upper case
 # define KWSYS_GLOB_CASE_INDEPENDENT
 # define KWSYS_GLOB_CASE_INDEPENDENT
 #endif
 #endif