Skip to content

Commit 9f06165

Browse files
committed
Fix undefined macro causing build to fail
This file wouldn't build when using Unreal Engine's Android toolchain. I think the intended behavior was to short-circuit when `_MSC_VER` isn't defined which I've modified to do.
1 parent 996376e commit 9f06165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gfx/scaler/pixconv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include <gfx/scaler/pixconv.h>
3131

32-
#if _MSC_VER && _MSC_VER <= 1800
32+
#if defined(_MSC_VER) && _MSC_VER <= 1800
3333
#define SCALER_NO_SIMD
3434
#endif
3535

0 commit comments

Comments
 (0)