Add extension attribute support

This commit is contained in:
Patrick Pelissier committed 2019-01-02 22:34:39 +01:00
1 parent 8870a1c2f9
commit c990277855
1 file changed
+7
+7
View File
@@ -92,6 +92,13 @@
#define M_ATTR_DEPRECATED
#endif
/* Extension attribute to silent warnings on extensions */
#if defined(__GNUC__)
#define M_ATTR_EXTENSION __extension__
#else
#define M_ATTR_EXTENSION
#endif
/***************************************************************/
/****************** Preprocessing Times Macro ******************/
/***************************************************************/