浏览代码

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"