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 3, 2024
1 parent fabf493 commit bdb2e23
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 bdb2e23

Please sign in to comment.