We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b1501 commit b32390eCopy full SHA for b32390e
src/opentimelineio/fileUtils.cpp
@@ -31,7 +31,7 @@ to_unix_separators(std::string const& path)
31
return result;
32
}
33
34
-#if defined(_WINDOWS)
+#if defined(_WIN32) || defined(_WIN64)
35
36
std::string create_temp_dir()
37
{
@@ -71,7 +71,7 @@ std::string create_temp_dir()
71
return out;
72
73
74
-#else // _WINDOWS
+#else // _WIN32 || _WIN64
75
76
77
@@ -103,6 +103,6 @@ std::string create_temp_dir()
103
return mkdtemp(buf.data());
104
105
106
-#endif // _WINDOWS
+#endif // _WIN32 || _WIN64
107
108
}} // namespace opentimelineio::OPENTIMELINEIO_VERSION
0 commit comments