# define ZEND_PATHS_SEPARATOR ':'
#endif
+
+#ifdef ZEND_WIN32
+/* Only use this macro if you know for sure that all of the switches values
+ are covered by its case statements */
+#define EMPTY_SWITCH_DEFAULT_CASE() \
+ default: \
+ __assume(0); \
+ break;
+#else
+#define EMPTY_SWITCH_DEFAULT_CASE()
+#endif
+
/* all HAVE_XXX test have to be after the include of zend_config above */
#ifdef HAVE_UNIX_H
#define ZEND_MAX_RESERVED_RESOURCES 4
-#ifdef ZEND_WIN32
-/* Only use this macro if you know for sure that all of the switches values
- are covered by its case statements */
-#define EMPTY_SWITCH_DEFAULT_CASE() \
- default: \
- __assume(0); \
- break;
-#else
-#define EMPTY_SWITCH_DEFAULT_CASE()
-#endif
#endif /* ZEND_H */
#define ZEND_HASH_H
#include <sys/types.h>
+#include "zend.h"
#define HASH_KEY_IS_STRING 1
#define HASH_KEY_IS_LONG 2
case 3: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */
case 2: hash = ((hash << 5) + hash) + *arKey++; /* fallthrough... */
case 1: hash = ((hash << 5) + hash) + *arKey++; break;
- default: /* case 0: */ break;
+ case 0: break;
+EMPTY_SWITCH_DEFAULT_CASE()
}
return hash;
}