Extension now builds on Android

This commit is contained in:
Mathias Westerdahl 2018-05-16 18:56:04 +02:00
parent 73dbf783d6
commit c1dc501e23

View File

@ -31,6 +31,10 @@
#define QUIRC_PERSPECTIVE_PARAMS 8 #define QUIRC_PERSPECTIVE_PARAMS 8
#if defined(DM_PLATFORM_ANDROID)
#define UINT8_MAX 255
#endif
#if QUIRC_MAX_REGIONS < UINT8_MAX #if QUIRC_MAX_REGIONS < UINT8_MAX
typedef uint8_t quirc_pixel_t; typedef uint8_t quirc_pixel_t;
#elif QUIRC_MAX_REGIONS < UINT16_MAX #elif QUIRC_MAX_REGIONS < UINT16_MAX