Add guards to prevent redefined warnings
This commit is contained in:
@@ -1 +1,6 @@
|
|||||||
|
#ifndef FOREACHENUM_H
|
||||||
|
#define FOREACHENUM_H
|
||||||
|
|
||||||
#define FOREACH_ENUM( e, max, var ) for( e var=(e)0; var<max; ((int&)var)++ )
|
#define FOREACH_ENUM( e, max, var ) for( e var=(e)0; var<max; ((int&)var)++ )
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user