# HG changeset patch # User Karl Heuer # Date 790459997 0 # Node ID d5a769d08f881d38eab7330196df83d4a51ef890 # Parent 99fa50b971ec8a4cb3c18671f7141f968b664f9f (SWITCH_ENUM_CAST): New macro. diff -r 99fa50b971ec -r d5a769d08f88 src/lisp.h --- a/src/lisp.h Wed Jan 18 20:00:08 1995 +0000 +++ b/src/lisp.h Wed Jan 18 20:13:17 1995 +0000 @@ -1646,3 +1646,9 @@ #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