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:
4c80c47
)
Fix selective definition of *snprintf. (Welcome to mbp's breakage world.)
author
Martin Pool
<mbp@samba.org>
Thu, 6 Sep 2001 06:27:02 +0000
(06:27 +0000)
committer
Martin Pool
<mbp@samba.org>
Thu, 6 Sep 2001 06:27:02 +0000
(06:27 +0000)
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/rsync.h
b/rsync.h
index
b53fa3d
..
5091a9e
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-401,11
+401,11
@@
int asprintf(char **ptr, const char *format, ...);
int vasprintf(char **ptr, const char *format, va_list ap);
#endif
int vasprintf(char **ptr, const char *format, va_list ap);
#endif
-#if !defined(HAVE_VSNPRINTF)
||
!defined(HAVE_C99_VSNPRINTF)
+#if !defined(HAVE_VSNPRINTF)
&&
!defined(HAVE_C99_VSNPRINTF)
int vsnprintf (char *str, size_t count, const char *fmt, va_list args);
#endif
int vsnprintf (char *str, size_t count, const char *fmt, va_list args);
#endif
-#if !defined(HAVE_SNPRINTF)
||
!defined(HAVE_C99_VSNPRINTF)
+#if !defined(HAVE_SNPRINTF)
&&
!defined(HAVE_C99_VSNPRINTF)
int snprintf(char *str,size_t count,const char *fmt,...);
#endif
int snprintf(char *str,size_t count,const char *fmt,...);
#endif