Переглянути джерело

fixed using math definitions (M_PI)

unknown 12 роки тому
батько
коміт
ebda9ae96a
1 змінених файлів з 3 додано та 2 видалено
  1. 3 2
      baselib/cc.cpp

+ 3 - 2
baselib/cc.cpp

@@ -1,6 +1,7 @@
 
-#include<assert.h>
-#include<math.h>
+#include <assert.h>
+#define _USE_MATH_DEFINES
+#include <math.h>
 
 #include"cc.h"