Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37a5644
)
Had a report that the __attribute__ code needs to check for
author
Wayne Davison
<wayned@samba.org>
Mon, 14 Feb 2005 22:49:51 +0000
(22:49 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 14 Feb 2005 22:49:51 +0000
(22:49 +0000)
__APPLE__ being defined, not APPLE.
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
49034ac
..
17f39f1
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-758,7
+758,7
@@
extern int errno;
/* handler for null strings in printf format */
#define NS(s) ((s)?safe_fname(s):"<NULL>")
-#if !defined __GNUC__ || defined
APPLE
+#if !defined __GNUC__ || defined
__APPLE__
/* Apparently the OS X port of gcc gags on __attribute__.
*
* <http://www.opensource.apple.com/bugs/X/gcc/2512150.html> */