diff options
-rw-r--r-- | builtin/stdint.h | 4 | ||||
-rw-r--r-- | common/build.mk | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/builtin/stdint.h b/builtin/stdint.h index cc1cec9ec8..3568bf0321 100644 --- a/builtin/stdint.h +++ b/builtin/stdint.h @@ -44,6 +44,10 @@ typedef uint8_t uint_least8_t; #define INT32_MAX (2147483647U) #endif +#ifndef UINT64_MAX +#define UINT64_MAX (18446744073709551615ULL) +#endif + #ifndef UINT64_C #define UINT64_C(c) c ## ULL #endif diff --git a/common/build.mk b/common/build.mk index 8f445c4815..5d0efa7083 100644 --- a/common/build.mk +++ b/common/build.mk @@ -223,7 +223,7 @@ endif ifeq ($(CONFIG_PLATFORM_PINWEAVER),y) PINWEAVERLIB := $(realpath ../pinweaver) CPPFLAGS += -I$(PINWEAVERLIB) -I$(PINWEAVERLIB)/eal/cr50 -CPPFLAGS += -D BIOMETRICS_DEV=false +CPPFLAGS += -D BIOMETRICS_DEV=true common-y += pinweaver.o common-y += pinweaver_eal.o |