mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[winpr,json] check for jansson required minimum version
This commit is contained in:
@@ -26,6 +26,10 @@
|
||||
#endif
|
||||
#include <jansson.h>
|
||||
|
||||
#if !defined(JANSSON_VERSION_HEX) || (JANSSON_VERSION_HEX < 0x020d00)
|
||||
#error "The library detected is too old, need >= 2.13.0"
|
||||
#endif
|
||||
|
||||
#if defined(WITH_DEBUG_JANSSON)
|
||||
#include "../log.h"
|
||||
#define TAG WINPR_TAG("jansson")
|
||||
|
||||
Reference in New Issue
Block a user