Skip to content

Commit

Permalink
Forgot to remove ifdefs around header files. This commit fixes it.
Browse files Browse the repository at this point in the history
  • Loading branch information
parthpatel committed Nov 12, 2024
1 parent 7b642a0 commit 6c709cd
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@
#include <sys/mman.h>
#include <unistd.h>

#ifdef USE_FAST_FLOAT
#include "fast_float/fast_float_strtod.h"
#endif

#ifdef HAVE_BACKTRACE
#include <execinfo.h>
Expand Down
2 changes: 0 additions & 2 deletions src/resp_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@
#include "resp_parser.h"
#include "server.h"

#ifdef USE_FAST_FLOAT
#include "fast_float/fast_float_strtod.h"
#endif

static int parseBulk(ReplyParser *parser, void *p_ctx) {
const char *proto = parser->curr_location;
Expand Down
2 changes: 0 additions & 2 deletions src/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@
#include <math.h> /* isnan() */
#include "cluster.h"

#ifdef USE_FAST_FLOAT
#include "fast_float/fast_float_strtod.h"
#endif

zskiplistNode *zslGetElementByRank(zskiplist *zsl, unsigned long rank);

Expand Down
2 changes: 0 additions & 2 deletions src/t_zset.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@
#include "intset.h" /* Compact integer set structure */
#include <math.h>

#ifdef USE_FAST_FLOAT
#include "fast_float/fast_float_strtod.h"
#endif

/*-----------------------------------------------------------------------------
* Skiplist implementation of the low level API
Expand Down
2 changes: 0 additions & 2 deletions src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
#include "sha256.h"
#include "config.h"

#ifdef USE_FAST_FLOAT
#include "fast_float/fast_float_strtod.h"
#endif

#define UNUSED(x) ((void)(x))

Expand Down
2 changes: 0 additions & 2 deletions src/valkey-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@
#include "mt19937-64.h"
#include "cli_commands.h"

#ifdef USE_FAST_FLOAT
#include "fast_float/fast_float_strtod.h"
#endif

#define UNUSED(V) ((void)V)

Expand Down

0 comments on commit 6c709cd

Please sign in to comment.