mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
Fix a clash (for_each) with c++ standard libraries. (nw)
This commit is contained in:
parent
1314fc9823
commit
3d6498c7e7
@ -39,7 +39,8 @@
|
||||
#include "wavwrite.h"
|
||||
#include "discrete.h"
|
||||
|
||||
|
||||
/* for_each collides with c++ standard libraries - include it here */
|
||||
#define for_each(_T, _e, _l) for (_T _e = (_l)->begin_ptr() ; _e <= (_l)->end_ptr(); _e++)
|
||||
|
||||
// device type definition
|
||||
const device_type DISCRETE = &device_creator<discrete_sound_device>;
|
||||
|
@ -3747,8 +3747,6 @@ enum
|
||||
*
|
||||
*************************************/
|
||||
|
||||
#define for_each(_T, _e, _l) for (_T _e = (_l)->begin_ptr() ; _e <= (_l)->end_ptr(); _e++)
|
||||
|
||||
/*
|
||||
* add and delete may be slow - the focus is on access!
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user