Browse Source

Add error if WANT_DYNAMIC_ACCESSLIST is enabled without any accesslist

dynamic-accesslists
Dirk Engling 2 years ago
parent
commit
cc24e1ab2d
  1. 4
      ot_accesslist.h

4
ot_accesslist.h

@ -24,6 +24,10 @@ extern char *g_accesslist_pipe_delete; @@ -24,6 +24,10 @@ extern char *g_accesslist_pipe_delete;
#endif
#else
#ifdef WANT_DYNAMIC_ACCESSLIST
# error WANT_DYNAMIC_ACCESSLIST needs either WANT_ACCESSLIST_BLACK or WANT_ACCESSLIST_WHITE
#endif
#define accesslist_init( accesslist_filename )
#define accesslist_deinit( )
#define accesslist_hashisvalid( hash ) 1

Loading…
Cancel
Save