From b7bf8f3ce19c243b38ebc1bf49796961392d6a8e Mon Sep 17 00:00:00 2001 From: Sean Middleditch Date: Thu, 19 Mar 2009 18:18:22 -0400 Subject: [PATCH] fix __GNUC__ macro test --- libtelnet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtelnet.h b/libtelnet.h index 039cba5..a7bb3fd 100644 --- a/libtelnet.h +++ b/libtelnet.h @@ -224,7 +224,7 @@ extern void telnet_send_subnegotiation(telnet_t *telnet, unsigned char telopt, extern void telnet_begin_compress2(telnet_t *telnet); /* printf type checking feature in GCC and some other compilers */ -#ifdef __GNUC__ +#if __GNUC__ # define TELNET_GNU_PRINTF(f,a) __attribute__((printf(f, a))) #else # define TELNET_GNU_PRINTF(f,a)