summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index d579db5a47..5feb0f8434 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -365,4 +365,10 @@ static inline int ff_rename(const char *oldpath, const char *newpath)
return 0;
}
+#ifndef _WIN32
+#define USE_RENAME_REPLACE 1
+#else
+#define USE_RENAME_REPLACE 0
+#endif
+
#endif /* AVFORMAT_INTERNAL_H */