Fix FUSE_USE_VERSION in example/notify_store_retrieve.c
authoryangyun <yangyun50@huawei.com>
Mon, 19 Aug 2024 10:29:23 +0000 (18:29 +0800)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Mon, 19 Aug 2024 11:53:11 +0000 (13:53 +0200)
This is an addition to commit e75d2c54a347. This example sets
FUSE_USE_VERSION = 34 but uses fuse_loop_cfg_* APIs, which is
not allowed since these APIs are not introduced in version 34.

example/notify_store_retrieve.c

index 7669612ea033143429b57fc9897b372263f4b464..42e6eb05e172f7805c05e6a6489d79030123bae9 100644 (file)
@@ -58,7 +58,7 @@
  */
 
 
-#define FUSE_USE_VERSION 34
+#define FUSE_USE_VERSION FUSE_MAKE_VERSION(3, 12)
 
 #include <fuse_lowlevel.h>
 #include <stdio.h>