projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1cf3d
)
Only use __attribute__ on GNUC compilers
author
Alexandra Ellwood
<lxs@mit.edu>
Tue, 5 Jun 2007 20:09:22 +0000
(20:09 +0000)
committer
Alexandra Ellwood
<lxs@mit.edu>
Tue, 5 Jun 2007 20:09:22 +0000
(20:09 +0000)
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19568
dc483132
-0cff-0310-8789-
dd5450dbe970
src/ccapi/common/cci_debugging.h
patch
|
blob
|
history
diff --git
a/src/ccapi/common/cci_debugging.h
b/src/ccapi/common/cci_debugging.h
index 169981f65d3acafffdd4075c8731718096ca796b..8875e1a032336e39802eaf95618f6e38400c7677 100644
(file)
--- a/
src/ccapi/common/cci_debugging.h
+++ b/
src/ccapi/common/cci_debugging.h
@@
-35,6
+35,10
@@
cc_int32 _cci_check_error (cc_int32 in_err,
int in_line);
#define cci_check_error(err) _cci_check_error(err, __FUNCTION__, __FILE__, __LINE__)
-void cci_debug_printf (const char *in_format, ...) __attribute__ ((format (printf, 1, 2)));
+void cci_debug_printf (const char *in_format, ...)
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)
+__attribute__ ((__format__ (__printf__, 1, 2)))
+#endif
+;
#endif /* CCI_DEBUGGING_H */