Fix APP_VERSION_AT_LEAST macro definition

This commit is contained in:
Cameron Gutman 2021-04-09 07:51:05 -05:00
parent 9b194cc700
commit c0c200e72c

View File

@ -39,7 +39,7 @@ extern int AudioPacketDuration;
#define isBefore24(x, y) (U24((x) - (y)) > (UINT24_MAX/2))
#define isBefore32(x, y) (U32((x) - (y)) > (UINT32_MAX/2))
#define APP_VERSION_AT_LEAST(a, b, c, d) \
#define APP_VERSION_AT_LEAST(a, b, c) \
((AppVersionQuad[0] > (a)) || \
(AppVersionQuad[0] == (a) && AppVersionQuad[1] > (b)) || \
(AppVersionQuad[0] == (a) && AppVersionQuad[1] == (b) && AppVersionQuad[2] >= (c)))