Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:41:05 JST 2012
Kouhei Sutou 2011-10-20 18:19:34 +0900 (Thu, 20 Oct 2011) New Revision: 270aa82e1e9239a5769264ae0817bf01894a4f52 https://github.com/mroonga/mroonga/commit/270aa82e1e9239a5769264ae0817bf01894a4f52 Log: remove needless old groonga support. Modified files: ha_mroonga.h Modified: ha_mroonga.h (+0 -10) =================================================================== --- ha_mroonga.h 2011-10-20 18:18:41 +0900 (dc82e43) +++ ha_mroonga.h 2011-10-20 18:19:34 +0900 (4f0adb6) @@ -61,16 +61,6 @@ extern "C" { typedef Item COND; #endif -#ifndef GRN_GEO_DEGREE2MSEC -# define GRN_GEO_DEGREE_ACCURACY 10000000 -# define GRN_GEO_DEGREE2MSEC(degree)\ - ((int)(((int)(degree) * 60 * 60 * 1000) +\ - (((long)((degree) * GRN_GEO_DEGREE_ACCURACY) % GRN_GEO_DEGREE_ACCURACY) * 60 / GRN_GEO_DEGREE_ACCURACY * 60 * 1000) +\ - (((long)((degree) * GRN_GEO_DEGREE_ACCURACY) % GRN_GEO_DEGREE_ACCURACY) * 60 % GRN_GEO_DEGREE_ACCURACY * 60 / 10000))) -# define GRN_GEO_MSEC2DEGREE(msec)\ - ((((int)(msec)) / 3600.0) * 0.001) -#endif - class ha_mroonga; /* structs */ -------------- next part -------------- HTML����������������������������...Download