summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-11 20:47:59 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-11 20:47:59 -0700
commitf5f06eb9136b39834d9cf240d31236f9255e9c3f (patch)
treed724a945feed76700b6b3feaae5b5c545e36d4cb /src/cli_val.h
parenta7a8f7ab9a44071869945c0db085de2cd55f6db5 (diff)
parentb04d003bd7fe306819ddcad8398f62d6f71edb9d (diff)
downloadvyatta-cfg-f5f06eb9136b39834d9cf240d31236f9255e9c3f.tar.gz
vyatta-cfg-f5f06eb9136b39834d9cf240d31236f9255e9c3f.zip
Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg into jenner
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index a753c92..e8fbe83 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -4,8 +4,12 @@
#define BITWISE 0 /* no partial commit */
#define boolean int
-#define TRUE 1
+#ifndef FALSE
#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
/* allocation unit for vals in valstruct */
#define MULTI_ALLOC 5 /* we have room if cnt%MULTI_ALLOC != 0 */