mirror of https://gerrit.osmocom.org/libtelnet
fix __GNUC__ macro test
This commit is contained in:
parent
2cb166c889
commit
b7bf8f3ce1
|
@ -224,7 +224,7 @@ extern void telnet_send_subnegotiation(telnet_t *telnet, unsigned char telopt,
|
||||||
extern void telnet_begin_compress2(telnet_t *telnet);
|
extern void telnet_begin_compress2(telnet_t *telnet);
|
||||||
|
|
||||||
/* printf type checking feature in GCC and some other compilers */
|
/* printf type checking feature in GCC and some other compilers */
|
||||||
#ifdef __GNUC__
|
#if __GNUC__
|
||||||
# define TELNET_GNU_PRINTF(f,a) __attribute__((printf(f, a)))
|
# define TELNET_GNU_PRINTF(f,a) __attribute__((printf(f, a)))
|
||||||
#else
|
#else
|
||||||
# define TELNET_GNU_PRINTF(f,a)
|
# define TELNET_GNU_PRINTF(f,a)
|
||||||
|
|
Loading…
Reference in New Issue