mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Fix APP_VERSION_AT_LEAST macro definition
This commit is contained in:
parent
9b194cc700
commit
c0c200e72c
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user