Skip to content

Commit b32390e

Browse files
committed
Change Windows macro
Signed-off-by: Darby Johnston <[email protected]>
1 parent 30b1501 commit b32390e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/opentimelineio/fileUtils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ to_unix_separators(std::string const& path)
3131
return result;
3232
}
3333

34-
#if defined(_WINDOWS)
34+
#if defined(_WIN32) || defined(_WIN64)
3535

3636
std::string create_temp_dir()
3737
{
@@ -71,7 +71,7 @@ std::string create_temp_dir()
7171
return out;
7272
}
7373

74-
#else // _WINDOWS
74+
#else // _WIN32 || _WIN64
7575

7676
std::string create_temp_dir()
7777
{
@@ -103,6 +103,6 @@ std::string create_temp_dir()
103103
return mkdtemp(buf.data());
104104
}
105105

106-
#endif // _WINDOWS
106+
#endif // _WIN32 || _WIN64
107107

108108
}} // namespace opentimelineio::OPENTIMELINEIO_VERSION

0 commit comments

Comments
 (0)