mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-07 13:23:37 +00:00
15 lines
398 B
C
15 lines
398 B
C
|
#ifndef XMLRPC_C_C_UTIL_H_INCLUDED
|
||
|
#define XMLRPC_C_C_UTIL_H_INCLUDED
|
||
|
|
||
|
/* GNU_PRINTF_ATTR lets the GNU compiler check printf-type
|
||
|
calls to be sure the arguments match the format string, thus preventing
|
||
|
runtime segmentation faults and incorrect messages.
|
||
|
*/
|
||
|
#ifdef __GNUC__
|
||
|
#define GNU_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
|
||
|
#else
|
||
|
#define GNU_PRINTF_ATTR(a,b)
|
||
|
#endif
|
||
|
|
||
|
#endif
|