commit d463e46038065c6f5b7fbf9e2cb067970dc02042
parent e42145751d82907da00115a1b17e31e5ed9ad8be
Author: Robert Russell <robertrussell.72001@gmail.com>
Date: Sat, 30 Sep 2023 23:06:58 -0700
Fix redefinition bug in sets and dicts
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/inc/dict/main.h b/inc/dict/main.h
@@ -1,4 +1,4 @@
-#if defined(DICT_DECLS) || defined(DICT_DEFS)
+#ifdef DICT_DECLS
#include <stdbool.h>
#include <string.h>
#include "../alloc.h"
@@ -11,7 +11,7 @@
#ifdef DICT_TYPES
#include "impl/types.h"
#endif
-#if defined(DICT_DECLS) || defined(DICT_DEFS)
+#ifdef DICT_DECLS
#include "impl/decls.h"
#endif
#include "impl/clean.h"
diff --git a/inc/set/main.h b/inc/set/main.h
@@ -1,4 +1,4 @@
-#if defined(SET_DECLS) || defined(SET_DEFS)
+#ifdef SET_DECLS
#include <stdbool.h>
#include "../alloc.h"
#include "../def.h"
@@ -10,7 +10,7 @@
#ifdef SET_TYPES
#include "impl/types.h"
#endif
-#if defined(SET_DECLS) || defined(SET_DEFS)
+#ifdef SET_DECLS
#include "impl/decls.h"
#endif
#include "impl/clean.h"