* 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
*
* 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