1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

display: make ng compilable under C++

This commit is contained in:
Mark Pizzolato
2019-03-19 18:24:24 -07:00
parent f09e9c290a
commit a3dd39fee9

View File

@@ -37,10 +37,16 @@
static void *ng_dptr;
static int ng_dbit;
#if defined(__cplusplus)
extern "C" {
#endif
#define DEVICE void
extern void _sim_debug_device (unsigned int dbits, DEVICE* dptr, const char* fmt, ...);
#define DEBUGF(...) _sim_debug_device (ng_dbit, ng_dptr, ## __VA_ARGS__)
#if defined(__cplusplus)
}
#endif
int ng_type = 0;
int ng_scale = PIX_SCALE;