implementation namespace. Fix up BEGIN_DECLS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14509
dc483132-0cff-0310-8789-
dd5450dbe970
2002-06-14 Tom Yu <tlyu@mit.edu>
+ * krb524.h: Change multiple-inclusion test macro to not stomp on
+ implementation namespace. Fix up BEGIN_DECLS.
+
* krb524.h: Back out erroneous merge of post-1.2.5 change
temporarily.
* PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef __KRB524_H__
-#define __KRB524_H__
+#ifndef KRB524_H
+#define KRB524_H
#define KRB524_SERVICE "krb524"
#define KRB524_PORT 4444
#endif
#endif
-#if defined(__cplusplus) && !defined(KRB524INT_BEGIN_DECLS)
+#ifndef KRB524INT_BEGIN_DECLS
+#ifdef __cplusplus
#define KRB524INT_BEGIN_DECLS extern "C" {
#define KRB524INT_END_DECLS }
#else
#define KRB524INT_BEGIN_DECLS
#define KRB524INT_END_DECLS
#endif
+#endif
#if TARGET_OS_MAC
#if defined(__MWERKS__)
KRB524INT_END_DECLS
-#endif /* __KRB524_H__ */
+#endif /* KRB524_H */