Skip to content

Commit

Permalink
kvs: use EINVAL instead of EBADE if undefined
Browse files Browse the repository at this point in the history
Problem: KVS module does not compile on macos because EBADE is not
a valid signal name there.

Use EINVAL if EBADE is undefined.
  • Loading branch information
garlick committed Dec 4, 2024
1 parent df88266 commit ac3351e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/kvs/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#include <flux/core.h>
#include <jansson.h>

#ifndef EBADE
#define EBADE EINVAL
#endif

#include "src/common/libczmqcontainers/czmq_containers.h"
#include "src/common/libccan/ccan/list/list.h"
#include "src/common/libkvs/treeobj.h"
Expand Down

0 comments on commit ac3351e

Please sign in to comment.