From 2b2d13f32e54b089e7651569ba9b5ee53b2a90c7 Mon Sep 17 00:00:00 2001 From: sezero Date: Sun, 19 Aug 2018 16:17:15 +0300 Subject: [PATCH] glide2x, h3, gsst.c (grSstWinClose): restrict hwcUnmapBoard() call to linux -- hwcUnmapBoard() is only in linhwc.c, not in minihwc.c. --- glide2x/h3/glide/src/gsst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glide2x/h3/glide/src/gsst.c b/glide2x/h3/glide/src/gsst.c index bbb97f9..b252b9d 100644 --- a/glide2x/h3/glide/src/gsst.c +++ b/glide2x/h3/glide/src/gsst.c @@ -1430,8 +1430,10 @@ GR_ENTRY(grSstWinClose, void, (void)) #endif #endif /* !GLIDE_INIT_HAL */ +#ifdef __linux__ /* hwcUnmapBoard() is only in linhwc.c */ /* Unmap the board */ hwcUnmapBoard(gc->bInfo); +#endif /*-------------------------- GC Reset