Prechádzať zdrojové kódy

core: fix define of rval_get_int_handle_ret
(cherry picked from commit a75b03f72e42740b410815330c895f16368895bd)

Daniel-Constantin Mierla 15 rokov pred
rodič
commit
866eba65f7
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  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; \