diff options
author | Tim Potter <tpot@samba.org> | 2003-04-14 01:19:58 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-14 01:19:58 +0000 |
commit | 2a962393017e65cb67944740e4faaad9902764e8 (patch) | |
tree | 60d99fb83dd698dfc6d9324207fad517efd96a42 /source/include | |
parent | 5b1807dddf0e4fb9fcaedcfe6f67dfd78fe117bb (diff) | |
download | samba-2a962393017e65cb67944740e4faaad9902764e8.tar.gz samba-2a962393017e65cb67944740e4faaad9902764e8.tar.xz samba-2a962393017e65cb67944740e4faaad9902764e8.zip |
Merge of TRUE/FALSE preprocessor traps from HEAD.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/includes.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index f6d26afe4f7..1fc7c3c51a1 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -1245,5 +1245,18 @@ void free_kerberos_etypes(krb5_context context, krb5_enctype *enctypes); BOOL krb5_get_smb_session_key(krb5_context context, krb5_auth_context auth_context, uint8 session_key[16]); #endif /* HAVE_KRB5 */ -#endif /* _INCLUDES_H */ +/* TRUE and FALSE are part of the C99 standard and gcc, but + unfortunately many vendor compilers don't support them. Use True + and False instead. */ + +#ifdef TRUE +#undef TRUE +#endif +#define TRUE __ERROR__XX__DONT_USE_TRUE +#ifdef FALSE +#undef FALSE +#endif +#define FALSE __ERROR__XX__DONT_USE_FALSE + +#endif /* _INCLUDES_H */ |