git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3/modules/getdate: use HAVE___ATTRIBUTE__ instead of __GNUC__
[samba.git]
/
source3
/
modules
/
getdate.c
diff --git
a/source3/modules/getdate.c
b/source3/modules/getdate.c
index a27b75f7f1ec1870739a7e4ba36beccf1932f08f..6ed994649c4e7689a08ad62b9e74a710d7d63097 100644
(file)
--- a/
source3/modules/getdate.c
+++ b/
source3/modules/getdate.c
@@
-181,7
+181,7
@@
# include <string.h>
#endif
-#if
__GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI
__
+#if
ndef HAVE___ATTRIBUTE
__
# define __attribute__(x)
#endif