summaryrefslogtreecommitdiff
path: root/modules/pam_time/pam_time.c
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2001-05-08 05:02:50 +0000
committerAndrew G. Morgan <morgan@kernel.org>2001-05-08 05:02:50 +0000
commit1ffe510887d0e16782849bf364087fad844ff744 (patch)
treed7551546c128d355187f4885276a013605da2caa /modules/pam_time/pam_time.c
parent7626d42b8d9ae4ea90f731e79ce8a9acce1ca8c2 (diff)
Relevant BUGIDs: 416229
Purpose of commit: cleanup Commit summary: --------------- A little closer to supporting AIX. These changes are not all of the suggested changes in the bug report that I will close as a result of this checkin, but they are all the changes that I feel happy making right now. I've avoided some of the more gratutitous changes, hoping that the submitter will reevaluate what they need in the light of what I have committed here.
Diffstat (limited to 'modules/pam_time/pam_time.c')
-rw-r--r--modules/pam_time/pam_time.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/pam_time/pam_time.c b/modules/pam_time/pam_time.c
index 0964f776..9cf68280 100644
--- a/modules/pam_time/pam_time.c
+++ b/modules/pam_time/pam_time.c
@@ -36,6 +36,13 @@ const static char rcsid[] =
#define PAM_TIME_BUFLEN 1000
#define FIELD_SEPARATOR ';' /* this is new as of .02 */
+#ifdef TRUE
+# undef TRUE
+#endif
+#ifdef FALSE
+# undef FALSE
+#endif
+
typedef enum { FALSE, TRUE } boolean;
typedef enum { AND, OR } operator;