dialog: guard macros definition to avoid redifinition
This unbreaks building libdpv
This commit is contained in:
parent
ec74116ace
commit
172f2fc11c
@ -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 New Issue
Block a user