diff options
author | Peter Ross <pross@xvid.org> | 2018-11-20 10:42:41 +0300 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2018-11-28 14:16:07 +0300 |
commit | 331715534a5bbf692b468989225104cd9bbf9fdb (patch) | |
tree | 8d6943d3a338e9745fee60b0808768058e86a5da /libavutil/file_open.c | |
parent | 8b7a1c22274e591f6927e1d4f0e2cb6989081fcc (diff) |
avpriv_tempfile: add djgpp fallback
Diffstat (limited to 'libavutil/file_open.c')
-rw-r--r-- | libavutil/file_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/file_open.c b/libavutil/file_open.c index a8da283583..cc302f2f76 100644 --- a/libavutil/file_open.c +++ b/libavutil/file_open.c @@ -138,7 +138,7 @@ int avpriv_tempfile(const char *prefix, char **filename, int log_offset, void *l #else snprintf(*filename, len, "/tmp/%sXXXXXX", prefix); fd = mkstemp(*filename); -#if defined(_WIN32) || defined (__ANDROID__) +#if defined(_WIN32) || defined (__ANDROID__) || defined(__DJGPP__) if (fd < 0) { snprintf(*filename, len, "./%sXXXXXX", prefix); fd = mkstemp(*filename); |