diff liboctave/oct-rl-hist.h @ 11488:49368dbf0822

Replace history control macros with enum
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Wed, 12 Jan 2011 08:04:14 -0600
parents a1deab9a6e71
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/oct-rl-hist.h	Wed Jan 12 09:38:08 2011 -0800
+++ b/liboctave/oct-rl-hist.h	Wed Jan 12 08:04:14 2011 -0600
@@ -28,9 +28,11 @@
 {
 #endif
 
-#define HC_IGNSPACE 0x01
-#define HC_IGNDUPS 0x02
-#define HC_ERASEDUPS 0x04
+enum {
+  HC_IGNSPACE = 0x01,
+  HC_IGNDUPS = 0x02,
+  HC_ERASEDUPS = 0x04
+};
 
 extern int octave_add_history (const char *, int);