Commit 51bd4610 authored by Karl Heuer's avatar Karl Heuer
Browse files

(SWITCH_ENUM_CAST): New macro.

parent 21dd8578
......@@ -1646,3 +1646,9 @@ extern void init_system_name ();
#ifndef IS_ANY_SEP
#define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_))
#endif
#ifdef SWITCH_ENUM_BUG
#define SWITCH_ENUM_CAST(x) ((int)(x))
#else
#define SWITCH_ENUM_CAST(x) (x)
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment