Parcourir la source

fixed using math definitions (M_PI)

unknown il y a 12 ans
Parent
commit
ebda9ae96a
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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"