Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
and I thought I wasn't going to do any rsync coding for a while ...
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
ef7ea88
..
dc2988a
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-59,6
+59,7
@@
#define MPLEX_BASE 7
#define FERROR 1
#define FINFO 2
#define MPLEX_BASE 7
#define FERROR 1
#define FINFO 2
+#define FLOG 3
#include "config.h"
#include "config.h"
@@
-204,14
+205,6
@@
#endif
#endif
-#ifndef S_IFLNK
-#define S_IFLNK 0120000
-#endif
-
-#ifndef S_ISLNK
-#define S_ISLNK(mode) (((mode) & S_IFLNK) == S_IFLNK)
-#endif
-
#define BOOL int
#ifndef uchar
#define BOOL int
#ifndef uchar
@@
-409,6
+402,18
@@
extern int errno;
#define S_IWUSR 0200
#endif
#define S_IWUSR 0200
#endif
+#ifndef _S_IFMT
+#define _S_IFMT 0170000
+#endif
+
+#ifndef _S_IFLNK
+#define _S_IFLNK 0120000
+#endif
+
+#ifndef S_ISLNK
+#define S_ISLNK(mode) (((mode) & (_S_IFMT)) == (_S_IFLNK))
+#endif
+
#ifndef S_ISBLK
#define S_ISBLK(mode) (((mode) & (_S_IFMT)) == (_S_IFBLK))
#endif
#ifndef S_ISBLK
#define S_ISBLK(mode) (((mode) & (_S_IFMT)) == (_S_IFBLK))
#endif