From 2c7c35cf741286172de2d2ee34c3f53a412ccacb Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Thu, 28 May 2020 20:05:53 +0200 Subject: [PATCH] coap.h.in: Set LIBCOAP_VERSION --- include/coap2/coap.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/coap2/coap.h.in b/include/coap2/coap.h.in index 37c249f4..2db9f053 100644 --- a/include/coap2/coap.h.in +++ b/include/coap2/coap.h.in @@ -26,6 +26,9 @@ /* Define the version of libcoap this file belongs to. */ #define LIBCOAP_PACKAGE_VERSION "@PACKAGE_VERSION@" +/* Define the numeric version identifier for libcoap */ +#define LIBCOAP_VERSION (@LIBCOAP_VERSION@U) + #ifdef __cplusplus extern "C" { #endif