Просмотр исходного кода

fixed using math definitions (M_PI)

unknown 12 лет назад
Родитель
Сommit
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"