null+****@clear*****
null+****@clear*****
2012年 3月 4日 (日) 16:46:32 JST
Kouhei Sutou 2012-03-04 16:46:32 +0900 (Sun, 04 Mar 2012) New Revision: b4bd6c1443e12daa458e5f98533db6fb9dca7c90 Log: Remove unused macros Modified files: lib/groonga_in.h Modified: lib/groonga_in.h (+0 -8) =================================================================== --- lib/groonga_in.h 2012-03-04 16:20:54 +0900 (67a136e) +++ lib/groonga_in.h 2012-03-04 16:46:32 +0900 (ebb0b5d) @@ -157,9 +157,6 @@ #define CASE_FP_INFINITE case _FPCLASS_NINF: case _FPCLASS_PINF: #define SHUT_RDWR SD_BOTH -#define islessgreater(x,y) (!_isnan(x) && !_isnan(y) && ((x) < (y) || (x) > (y))) -#define isless(x,y) (!_isnan(x) && !_isnan(y) && ((x) < (y))) -#define isgreater(x,y) (!_isnan(x) && !_isnan(y) && ((x) > (y))) typedef SOCKET grn_sock; #define grn_sock_close closesocket @@ -200,11 +197,6 @@ typedef int grn_sock; # define fpclassify fpclass # define CASE_FP_NAN case FP_SNAN: case FP_QNAN: # define CASE_FP_INFINITE case FP_NINF: case FP_PINF: -# ifdef __GNUC__ -# define isgreater(x,y) ((x) > (y)) -# define isless(x,y) ((x) < (y)) -# define islessgreater(x,y) ((x) != (y)) -# endif /* __GNUC__ */ # else /* SUN */ # define CASE_FP_NAN case FP_NAN: # define CASE_FP_INFINITE case FP_INFINITE: