summaryrefslogtreecommitdiff
path: root/libavformat/internal.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-11-25 10:51:23 +0200
committerMartin Storsjö <martin@martin.st>2014-11-27 09:29:47 +0200
commit675ac56b7ee0f204963fde55295197c5df80aa91 (patch)
tree291037e0f8f56b7a10e0764a2e4207870d1bb71c /libavformat/internal.h
parent79fd186a5035cf16fc0ab288d8f59da8b1ba2c0e (diff)
Revert "lavf: Don't try to update files atomically with renames on windows"
This reverts commit b9d08c77a44390b0848c06f20bc0e9e951ba6a3c. After taking MoveFileEx into use, we can replace files with renames on windows as well. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r--libavformat/internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index d69ce492fa..d10c5433d0 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -366,10 +366,4 @@ 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 */