first commit
This commit is contained in:
12
include/vscode_fix.h
Normal file
12
include/vscode_fix.h
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
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)));
|
Reference in New Issue
Block a user