From 2c1b1a2343f5882ee6f98328ff391478d0d58c23 Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 26 Jul 2022 19:40:56 -0700 Subject: [PATCH] Add include guard to fix wincon compile. --- src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h b/src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h index d19a79c77..d12361201 100644 --- a/src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h +++ b/src/3rdparty/win32_src/pdcurses/wincon/pdcwin.h @@ -1,5 +1,8 @@ /* PDCurses */ +#ifndef __PDC_WIN_H__ +#define __PDC_WIN_H__ + #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */ #endif @@ -29,3 +32,5 @@ extern short pdc_oldf, pdc_oldb, pdc_oldu; extern bool pdc_conemu, pdc_wt, pdc_ansi; extern void PDC_blink_text(void); + +#endif \ No newline at end of file