]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/dlist.h
Eliminate dependency on man2html.
[bacula/bacula] / bacula / src / lib / dlist.h
index aa858bee974cd9927a9a3f4fa86270fd921ab87f..2644158ef8d5ee78e6bea40cccbebf629dd6434f 100644 (file)
@@ -36,7 +36,7 @@
  *
  * Loop var through each member of list
  */
-#if defined(__GNUC__)
+#ifdef HAVE_TYPEOF
 #define foreach_dlist(var, list) \
         for((var)=NULL; ((var)=(typeof(var))(list)->next(var)); )
 #else