Skip to content

Commit

Permalink
Also check for _WIN32 in little endian check
Browse files Browse the repository at this point in the history
  • Loading branch information
mmp committed Jul 25, 2018
1 parent 307d162 commit 81fd5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/imageio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static PBRT_CONSTEXPR bool hostLittleEndian =
#endif
#else
#if defined(__LITTLE_ENDIAN__) || defined(__i386__) || defined(__x86_64__) || \
defined(WIN32)
defined(_WIN32) || defined(WIN32)
true
#elif defined(__BIG_ENDIAN__)
false
Expand Down

0 comments on commit 81fd5fd

Please sign in to comment.