Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Cole Miller <[email protected]>
  • Loading branch information
cole-miller committed Sep 1, 2024
1 parent f3da286 commit 1fb3a1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
env:
LIBDQLITE_TRACE: 1
run: |
contrib/build-static.sh
contrib/build-static.sh || (cat ./test-suite.log && false)
6 changes: 3 additions & 3 deletions test/raft/lib/addrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <sys/socket.h>
#include <sys/types.h>

#ifdef WITH_STATIC_DEPS
#ifdef DQLITE_STATIC_LIBC

void AddrinfoInjectSetResponse(int rv,
int num_results,
Expand All @@ -27,7 +27,7 @@ void AddrinfoInjectTearDown(void)
{
}

#else /* ifndef WITH_STATIC_DEPS */
#else /* ifndef DQLITE_STATIC_LIBC */

bool addrinfo_mock_enabled = false;

Expand Down Expand Up @@ -194,4 +194,4 @@ void freeaddrinfo(struct addrinfo *res)
free(response);
}

#endif /* ifdef WITH_STATIC_DEPS ... else */
#endif /* ifdef DQLITE_STATIC_LIBC ... else */

0 comments on commit 1fb3a1f

Please sign in to comment.