[Groonga-commit] groonga/groonga [master] Win32 needs _USE_MATH_DEFINES.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 10月 12日 (火) 02:11:58 JST


Toshihisa	2010-10-11 17:11:58 +0000 (Mon, 11 Oct 2010)

  New Revision: c9f9f543008031f496c419d3fa60748d1a79a105

  Log:
    Win32 needs _USE_MATH_DEFINES.

  Modified files:
    lib/geo.h

  Modified: lib/geo.h (+3 -0)
===================================================================
--- lib/geo.h    2010-10-13 05:26:49 +0000 (d9a1bbe)
+++ lib/geo.h    2010-10-11 17:11:58 +0000 (fb6311b)
@@ -21,6 +21,9 @@
 #include "groonga_in.h"
 #endif /* GROONGA_IN_H */
 
+#ifdef WIN32
+#define _USE_MATH_DEFINES
+#endif
 #include <math.h>
 
 #ifdef __cplusplus




Groonga-commit メーリングリストの案内
Back to archive index