]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/dlist.h
Add the updated version of the the win32 pathname fix.
[bacula/bacula] / bacula / src / lib / dlist.h
index 32933ad608518254b7205dc94949e0dc3736be86..2644158ef8d5ee78e6bea40cccbebf629dd6434f 100644 (file)
@@ -2,7 +2,7 @@
  *   Version $Id$
  */
 /*
-   Copyright (C) 2004-2005 Kern Sibbald
+   Copyright (C) 2004-2006 Kern Sibbald
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
@@ -36,7 +36,7 @@
  *
  * Loop var through each member of list
  */
-#ifdef HAVE_GCC
+#ifdef HAVE_TYPEOF
 #define foreach_dlist(var, list) \
         for((var)=NULL; ((var)=(typeof(var))(list)->next(var)); )
 #else