Anastasia Klimchuk has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/70027 )
Change subject: libflashrom: Define macro to detect v1.3 header ......................................................................
libflashrom: Define macro to detect v1.3 header
While the complete solution of libflashrom versioning will take some time to fully implement, meanwhile introducing the macro allows the users of the API to detect whether they are including the header of version 1.3.
Ticket: https://ticket.coreboot.org/issues/381
Change-Id: Iac35ff167272e1bc3d5434f7b47099f53bfceab7 Signed-off-by: Anastasia Klimchuk aklm@chromium.org --- M include/libflashrom.h 1 file changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/27/70027/1
diff --git a/include/libflashrom.h b/include/libflashrom.h index bac76c2..e41e255 100644 --- a/include/libflashrom.h +++ b/include/libflashrom.h @@ -19,6 +19,9 @@ #ifndef __LIBFLASHROM_H__ #define __LIBFLASHROM_H__ 1
+/* Allows the users of the API to check they have included v1.3 header. */ +#define LIBFLASHROM_v1_3_0 + /** * @mainpage *