Sfoglia il codice sorgente

Ignore the cmath-fix block on non-vs compilers.

Michał W. Urbańczyk 12 anni fa
parent
commit
7a8e401860
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      AI/FuzzyLite/defs.h

+ 1 - 1
AI/FuzzyLite/defs.h

@@ -22,7 +22,7 @@
 #ifndef FL_DEFS_H
 #define	FL_DEFS_H
 
-#if _MSC_VER < 1800
+#if defined(_MSC_VER) && _MSC_VER < 1800
     #ifndef NAN
     static const unsigned long __nan[2] = {0xffffffff, 0x7fffffff};
     #define NAN (*(const float *) __nan)