diff options
-rw-r--r-- | ot_accesslist.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ot_accesslist.h b/ot_accesslist.h index 9280fcb..281f61b 100644 --- a/ot_accesslist.h +++ b/ot_accesslist.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef OT_ACCESSLIST_H__ | 6 | #ifndef OT_ACCESSLIST_H__ |
7 | #define OT_ACCESSLIST_H__ | 7 | #define OT_ACCESSLIST_H__ |
8 | 8 | ||
9 | #if defined ( WANT_ACCESSLIST_BLACK ) && defined (WANT_ACCESSLIST_WHITE ) | 9 | #if defined ( WANT_ACCESSLIST_BLACK ) && defined ( WANT_ACCESSLIST_WHITE ) |
10 | # error WANT_ACCESSLIST_BLACK and WANT_ACCESSLIST_WHITE are exclusive. | 10 | # error WANT_ACCESSLIST_BLACK and WANT_ACCESSLIST_WHITE are exclusive. |
11 | #endif | 11 | #endif |
12 | 12 | ||
@@ -24,6 +24,10 @@ extern char *g_accesslist_pipe_delete; | |||
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #else | 26 | #else |
27 | #ifdef WANT_DYNAMIC_ACCESSLIST | ||
28 | # error WANT_DYNAMIC_ACCESSLIST needs either WANT_ACCESSLIST_BLACK or WANT_ACCESSLIST_WHITE | ||
29 | #endif | ||
30 | |||
27 | #define accesslist_init( accesslist_filename ) | 31 | #define accesslist_init( accesslist_filename ) |
28 | #define accesslist_deinit( ) | 32 | #define accesslist_deinit( ) |
29 | #define accesslist_hashisvalid( hash ) 1 | 33 | #define accesslist_hashisvalid( hash ) 1 |