Explorar o código

fixed using math definitions (M_PI)

unknown %!s(int64=12) %!d(string=hai) anos
pai
achega
ebda9ae96a
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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"