commit | b7bf8f3ce19c243b38ebc1bf49796961392d6a8e | [log] [tgz] |
---|---|---|
author | Sean Middleditch <sean@middleditch.us> | Thu Mar 19 18:18:22 2009 -0400 |
committer | Sean Middleditch <sean@middleditch.us> | Thu Mar 19 18:18:22 2009 -0400 |
tree | 78e461bc52d3bab41a496732aeb135297a09af9d | |
parent | 2cb166c889e15eaaaf4ec75d09724d1cab162caa [diff] [blame] |
fix __GNUC__ macro test
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_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)