Concord - C Discord API library
A Discord API wrapper library written in C
attributes.h
Go to the documentation of this file.
1#ifndef ATTRIBUTES_H
2#define ATTRIBUTES_H
3
4#if defined(__MINGW32__) \
5 || (defined(__GNUC__) && __GNUC__ > 4 ? true : __GNUC_PATCHLEVEL__ >= 4) \
6 || defined(__USE_MINGW_ANSI_STDIO)
7#define PRINTF_LIKE(a, b) __attribute__((format(gnu_printf, a, b)))
8#else
9#define PRINTF_LIKE(a, b)
10#endif
11
12#endif /* ATTRIBUTES_H */