changeset 10455:d5a769d08f88

(SWITCH_ENUM_CAST): New macro.
author Karl Heuer <kwzh@gnu.org>
date Wed, 18 Jan 1995 20:13:17 +0000
parents 99fa50b971ec
children 9c6110615166
files src/lisp.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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