null+****@clear*****
null+****@clear*****
2011年 10月 20日 (木) 18:19:34 JST
Kouhei Sutou 2011-10-20 09:19:34 +0000 (Thu, 20 Oct 2011)
New Revision: 270aa82e1e9239a5769264ae0817bf01894a4f52
Log:
remove needless old groonga support.
Modified files:
ha_mroonga.h
Modified: ha_mroonga.h (+0 -10)
===================================================================
--- ha_mroonga.h 2011-10-20 09:18:41 +0000 (dc82e43)
+++ ha_mroonga.h 2011-10-20 09:19:34 +0000 (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 */