ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
/
cvs
/
deliantra
/
dclient
/
include
/
adt
/
foreach.h
Revision:
1.1
Committed:
Mon Oct 18 06:53:54 2010 UTC
(13 years, 9 months ago) by
sf-pippijn
Content type:
text/plain
Branch:
MAIN
Log Message:
gcc 4.5; moved some code; background colour support
File Contents
#
User
Rev
Content
1
sf-pippijn
1.1
#include "compiler.h"
2
3
#if GCC_VERSION(4,6)
4
# define foreach(a, b) for (a : b)
5
#else
6
# include <boost/foreach.hpp>
7
# define foreach BOOST_FOREACH
8
#endif