Skip to content

Commit

Permalink
Don't check for the value of possibly undefined preprocessor constants
Browse files Browse the repository at this point in the history
b4n committed Nov 2, 2017
1 parent 5405c22 commit 1026e7b
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main/error.c
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
#include "error.h"
#include "options.h"

#if HAVE_JANSSON
#ifdef HAVE_JANSSON
#include <jansson.h>
#endif

@@ -63,7 +63,7 @@ extern void error (const errorSelection selection,
exit (1);
}

#if HAVE_JANSSON
#ifdef HAVE_JANSSON
bool jsonErrorPrinter (const errorSelection selection, const char *const format, va_list ap,
void *data CTAGS_ATTR_UNUSED)
{
2 changes: 1 addition & 1 deletion main/seccomp.c
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
#include "debug.h"
#include "interactive.h"

#if HAVE_SECCOMP
#ifdef HAVE_SECCOMP
#include <seccomp.h>


0 comments on commit 1026e7b

Please sign in to comment.