Kaynağa Gözat

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

Michał W. Urbańczyk 12 yıl önce
ebeveyn
işleme
7a8e401860
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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)