Add include guard to fix wincon compile.

This commit is contained in:
casey langen 2022-07-26 19:40:56 -07:00
parent 14bd379990
commit 2c1b1a2343

View File

@ -1,5 +1,8 @@
/* PDCurses */ /* PDCurses */
#ifndef __PDC_WIN_H__
#define __PDC_WIN_H__
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */ # define _CRT_SECURE_NO_DEPRECATE 1 /* kill nonsense warnings */
#endif #endif
@ -29,3 +32,5 @@ extern short pdc_oldf, pdc_oldb, pdc_oldu;
extern bool pdc_conemu, pdc_wt, pdc_ansi; extern bool pdc_conemu, pdc_wt, pdc_ansi;
extern void PDC_blink_text(void); extern void PDC_blink_text(void);
#endif