mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
(SWITCH_ENUM_CAST): New macro.
This commit is contained in:
parent
21dd857809
commit
51bd4610d7
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue