Protect against multiple inclusion. Don't define macro '_' if already defined
authorKen Raeburn <raeburn@mit.edu>
Tue, 25 Apr 2006 06:25:35 +0000 (06:25 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 25 Apr 2006 06:25:35 +0000 (06:25 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17959 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-err.h

index 5ba5816a711736f9c6a2430414e3eeb6724f172a..29f41f12bc03a0ff7aea142aa43899243a30ba4c 100644 (file)
  * Error-message handling
  */
 
+#ifndef K5_ERR_H
+#define K5_ERR_H
+
+#ifndef _
 #define _(X) (X)
+#endif
 
 #if defined(_MSDOS) || defined(_WIN32)
 #include <win-mac.h>
@@ -60,3 +65,5 @@ void
 krb5int_clear_error (struct errinfo *ep);
 void
 krb5int_set_error_info_callout_fn (const char *(KRB5_CALLCONV *f)(long));
+
+#endif /* K5_ERR_H */