mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
dialog: guard macros definition to avoid redifinition
This unbreaks building libdpv
This commit is contained in:
parent
ec74116ace
commit
172f2fc11c
1 changed files with 8 additions and 0 deletions
|
|
@ -9,12 +9,20 @@
|
|||
#define CURSES_WACS_SYMBOLS 1
|
||||
#define DIALOG_PATCHDATE 20210117
|
||||
#define DIALOG_VERSION "1.3"
|
||||
#ifndef GCC_NORETURN
|
||||
#define GCC_NORETURN __attribute__((noreturn))
|
||||
#endif
|
||||
#define GCC_PRINTF 1
|
||||
#ifndef GCC_PRINTFLIKE
|
||||
#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
|
||||
#endif
|
||||
#define GCC_SCANF 1
|
||||
#ifndef GCC_SCANFLIKE
|
||||
#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
|
||||
#endif
|
||||
#ifndef GCC_UNUSED
|
||||
#define GCC_UNUSED __attribute__((unused))
|
||||
#endif
|
||||
#define HAVE_ALLOCA 1
|
||||
#define HAVE_BTOWC 1
|
||||
#define HAVE_COLOR 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue