ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/dclient/include/adt/foreach.h
(Generate patch)

Comparing deliantra/dclient/include/adt/foreach.h (file contents):
Revision 1.1 by sf-pippijn, Mon Oct 18 06:53:54 2010 UTC vs.
Revision 1.2 by sf-pippijn, Mon Oct 18 14:11:42 2010 UTC

1#include "compiler.h"
2
3#if GCC_VERSION(4,6) 1#if GCC_VERSION(4,6)
4# define foreach(a, b) for (a : b) 2# define foreach(a, b) for (a : b)
5#else 3#else
6# include <boost/foreach.hpp> 4# include <boost/foreach.hpp>
7# define foreach BOOST_FOREACH 5# define foreach BOOST_FOREACH

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines