Browse Source

core: fix define of rval_get_int_handle_ret

Daniel-Constantin Mierla 15 years ago
parent
commit
a75b03f72e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      rvalue.c

+ 2 - 1
rvalue.c

@@ -1035,7 +1035,8 @@ error:
 		if (unlikely((ret)<0)) \
 			RVE_LOG(L_WARN, rve, txt); \
 	}while(0)
-#elif define RVAL_GET_INT_ERR_IGN \
+#elif defined RVAL_GET_INT_ERR_IGN
+#define rval_get_int_handle_ret(ret, txt, rve) \
 	do { \
 		if (unlikely((ret)<0)) \
 				(ret)=0; \