summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/os_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 91220e9716..ca995f9de6 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -220,7 +220,7 @@ static inline int win32_rename(const char *src_utf8, const char *dest_utf8)
fallback:
/* filename may be be in CP_ACP */
-#if !HAVE_WINRT
+#if !HAVE_UWP
ret = MoveFileExA(src_utf8, dest_utf8, MOVEFILE_REPLACE_EXISTING);
if (ret)
errno = EPERM;