]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Got rid of recent O_TEXT* and O_BINARY* changes.
authorWayne Davison <wayned@samba.org>
Sun, 26 Jan 2003 20:11:16 +0000 (20:11 +0000)
committerWayne Davison <wayned@samba.org>
Sun, 26 Jan 2003 20:11:16 +0000 (20:11 +0000)
rsync.h

diff --git a/rsync.h b/rsync.h
index 0477a4c4c00ecfda2fed1ad28b5f286a9429b567..8592984bce3be7fa8fe41ea55bb6b95f65125560 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -595,20 +595,6 @@ void rsyserr(enum logcode, int, const char *, ...)
 #define inet_ntoa rep_inet_ntoa
 #endif
 
-/* Compatibility defines so that platforms that don't distinguish between
- * text and binary files (like Cygwin does) can use the same code. */
-#ifndef O_TEXT
-#define O_TEXT 0
-#define O_TEXT_STR ""
-#else
-#define O_TEXT_STR "t"
-#endif
-#ifndef O_BINARY
-#define O_BINARY 0
-#define O_BINARY_STR ""
-#else
-#define O_BINARY_STR "b"
-#endif
 
 #ifndef HAVE_STRLCPY
 size_t strlcpy(char *d, const char *s, size_t bufsize);