Add dynamic lookup support
[exim.git] / src / src / macros.h
index 09bc601b9adbd29249b32c7b15a6c18d96157f3a..3f24025af3a7ebda1c4ab883386b32d5c6f516fd 100644 (file)
@@ -96,7 +96,7 @@ don't make the file descriptors two-way. */
 
 /* A macro to simplify testing bits in lookup types */
 
-#define mac_islookup(a,b) ((lookup_list[a].type & (b)) != 0)
+#define mac_islookup(a,b) ((lookup_list[a]->type & (b)) != 0)
 
 /* Debugging control */