From 2090c39966279fa412536f09274d49e8a6193c9b Mon Sep 17 00:00:00 2001 From: toxie Date: Sat, 25 Nov 2023 17:14:34 +0100 Subject: [PATCH] hopefully fix libpinmame build --- ext/dmddevice/dmddevice.h | 5 +++-- src/wpc/dmddevice.h | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ext/dmddevice/dmddevice.h b/ext/dmddevice/dmddevice.h index 3fb681028..b0164bf11 100644 --- a/ext/dmddevice/dmddevice.h +++ b/ext/dmddevice/dmddevice.h @@ -36,7 +36,7 @@ typedef int(*Console_Input_t)(UINT8 *buf, int size); Console_Input_t Console_Input = NULL; typedef enum { - None, + __None, __2x16Alpha, __2x20Alpha, __2x7Alpha_2x7Num, @@ -52,7 +52,8 @@ typedef enum { __2x7Num_4x1Num_1x16Alpha, __1x16Alpha_1x16Num_1x7Num, __1x7Num_1x16Alpha_1x16Num, - __1x16Alpha_1x16Num_1x7Num_1x4Num + __1x16Alpha_1x16Num_1x7Num_1x4Num, + __Invalid } layout_t; #ifdef __cplusplus diff --git a/src/wpc/dmddevice.h b/src/wpc/dmddevice.h index 06022fdf8..955acc963 100644 --- a/src/wpc/dmddevice.h +++ b/src/wpc/dmddevice.h @@ -1,7 +1,5 @@ #pragma once -#ifdef WIN32 - typedef struct rgb24 { UINT8 red; UINT8 green; @@ -46,5 +44,3 @@ void FwdConsoleData(UINT8 data); #ifdef __cplusplus } #endif - -#endif