Skip to content

Commit deb451a

Browse files
committed
Fix wrong undefs of local macros for registering constants
1 parent 2fc7d36 commit deb451a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: php_memcached.c

+5-2
Original file line numberDiff line numberDiff line change
@@ -4514,12 +4514,15 @@ static void php_memc_register_constants(INIT_FUNC_ARGS)
45144514
REGISTER_MEMC_CLASS_CONST_LONG(RESPONSE_ETMPFAIL, PROTOCOL_BINARY_RESPONSE_ETMPFAIL);
45154515
#endif
45164516

4517-
#undef REGISTER_MEMC_CLASS_CONST_LONG
4518-
45194517
/*
45204518
* Return value from simple get errors
45214519
*/
45224520
REGISTER_MEMC_CLASS_CONST_BOOL(GET_ERROR_RETURN_VALUE, 0);
4521+
4522+
#undef REGISTER_MEMC_CLASS_CONST_LONG
4523+
#undef REGISTER_MEMC_CLASS_CONST_BOOL
4524+
#undef REGISTER_MEMC_CLASS_CONST_NULL
4525+
45234526
}
45244527
/* }}} */
45254528

0 commit comments

Comments
 (0)