mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
Avoid conflict with Apple C++ runtime header nl_types.h
This commit is contained in:
parent
21b4a16edd
commit
4db6e43971
@ -2,12 +2,12 @@
|
|||||||
// copyright-holders:Couriersud
|
// copyright-holders:Couriersud
|
||||||
/*!
|
/*!
|
||||||
*
|
*
|
||||||
* \file nl_types.h
|
* \file netlist_types.h
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NLTYPES_H_
|
#ifndef NETLIST_TYPES_H_
|
||||||
#define NLTYPES_H_
|
#define NETLIST_TYPES_H_
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
@ -22,13 +22,13 @@ namespace netlist
|
|||||||
// Performance tracking
|
// Performance tracking
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
||||||
#if NL_KEEP_STATISTICS
|
#if NL_KEEP_STATISTICS
|
||||||
using nperftime_t = plib::chrono::timer<plib::chrono::exact_ticks, true>;
|
using nperftime_t = plib::chrono::timer<plib::chrono::exact_ticks, true>;
|
||||||
using nperfcount_t = plib::chrono::counter<true>;
|
using nperfcount_t = plib::chrono::counter<true>;
|
||||||
#else
|
#else
|
||||||
using nperftime_t = plib::chrono::timer<plib::chrono::exact_ticks, false>;
|
using nperftime_t = plib::chrono::timer<plib::chrono::exact_ticks, false>;
|
||||||
using nperfcount_t = plib::chrono::counter<false>;
|
using nperfcount_t = plib::chrono::counter<false>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//============================================================
|
//============================================================
|
||||||
// Types needed by various includes
|
// Types needed by various includes
|
||||||
@ -51,4 +51,4 @@ namespace netlist
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* NLTYPES_H_ */
|
#endif /* NETLIST_TYPES_H_ */
|
@ -15,7 +15,7 @@
|
|||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
#include "nl_config.h"
|
#include "nl_config.h"
|
||||||
#include "nl_types.h"
|
#include "netlist_types.h"
|
||||||
#include "plib/plists.h"
|
#include "plib/plists.h"
|
||||||
#include "plib/pchrono.h"
|
#include "plib/pchrono.h"
|
||||||
#include "plib/ptypes.h"
|
#include "plib/ptypes.h"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
#include "nl_factory.h"
|
#include "nl_factory.h"
|
||||||
#include "nl_config.h"
|
#include "nl_config.h"
|
||||||
#include "nl_types.h"
|
#include "netlist_types.h"
|
||||||
|
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
Loading…
Reference in New Issue
Block a user