summaryrefslogtreecommitdiff
path: root/defaults.h
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1999-10-11 16:24:02 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1999-10-11 16:24:02 +0000
commit6a43f7cb1aab9b8c662b29a30d3460d0af55be05 (patch)
tree53f6df1732e2eead37502a964715f0ff9bc0d185 /defaults.h
parente50580310583fea29b49c0e883bbbe77beb59639 (diff)
downloadsudo-6a43f7cb1aab9b8c662b29a30d3460d0af55be05.tar.gz
#undef T_FOO to avoid conflicts with system defines (like on ULTRIX).
Diffstat (limited to 'defaults.h')
-rw-r--r--defaults.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/defaults.h b/defaults.h
index e5d61ba39..502789ad8 100644
--- a/defaults.h
+++ b/defaults.h
@@ -57,14 +57,23 @@ struct sudo_defs_types {
* Also, T_INT or T_STR may be ANDed with T_BOOL to indicate that
* a value is not required. Flags are boolean by nature...
*/
+#undef T_INT
#define T_INT 0x001
+#undef T_STR
#define T_STR 0x002
+#undef T_FLAG
#define T_FLAG 0x003
+#undef T_MODE
#define T_MODE 0x004
+#undef T_LOGFAC
#define T_LOGFAC 0x005
+#undef T_LOGPRI
#define T_LOGPRI 0x006
+#undef T_MASK
#define T_MASK 0x0FF
+#undef T_BOOL
#define T_BOOL 0x100
+#undef T_PATH
#define T_PATH 0x200
/*