CheemDS/include/vscode_fix.h

13 lines
323 B
C
Raw Permalink Normal View History

2022-10-09 16:38:09 +02:00
/*
Used to get VS Code Intellisense working correctly for header definitions
protected by compiler-specific feature flags.
*/
#ifdef __GNUC__
#define _ATTRIBUTE(attrs) __attribute__ (attrs)
#else
#define _ATTRIBUTE(attrs)
#endif
int iprintf (const char *, ...)
_ATTRIBUTE ((__format__ (__printf__, 1, 2)));