This is covering r1757.
SVN-Revision: 1762
/* Windows (including Visual Studio and MinGW but not Cygwin) */
#if defined(_WIN32) && !defined(__CYGWIN__)
#include "../cpio_windows.h"
+#if !defined(__BORLANDC__)
#define strdup _strdup
+#endif
#define LOCALE_DE "deu"
#else
#define LOCALE_DE "de_DE.UTF-8"
/* Windows (including Visual Studio and MinGW but not Cygwin) */
#if defined(_WIN32) && !defined(__CYGWIN__)
+#if !defined(__BORLANDC__)
#define strdup _strdup
+#endif
#define LOCALE_UTF8 NULL
#else
#define LOCALE_UTF8 "de_DE.UTF-8"
#include "err.h"
#include "line_reader.h"
-#if defined(_WIN32) && !defined(__CYGWIN__)
+#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(__BORLANDC__)
#define strdup _strdup
#endif
#endif
#include <string.h> /* Must include before redefining 'strdup' */
+#if !defined(__BORLANDC__)
#define strdup _strdup
+#endif
#define read _read
+#if !defined(__BORLANDC__)
#define getcwd _getcwd
+#endif
#define chdir __tar_chdir
int __tar_chdir(const char *);
/* Windows (including Visual Studio and MinGW but not Cygwin) */
#if defined(_WIN32) && !defined(__CYGWIN__)
#include "../bsdtar_windows.h"
+#if !defined(__BORLANDC__)
#define strdup _strdup
+#endif
#define LOCALE_DE "deu"
#else
#define LOCALE_DE "de_DE.UTF-8"