util/u_endian: Use _WIN32 instead of _MSC_VER
_WIN32 is defined by basically all windows compilers (MSVC, ICL, MinGW), wereas _MSC_VER is not defined by MinGW. Without this change MinGW falls through and doesn't define PIPE_ARCH at all, and is caught by some extra code in gallium. Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
# define PIPE_ARCH_BIG_ENDIAN
|
||||
#endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
#elif defined(_WIN32)
|
||||
|
||||
#define PIPE_ARCH_LITTLE_ENDIAN
|
||||
|
||||
|
Reference in New Issue
Block a user