Use C99 versions of __FUNCTION__ & __volatile__ when not building with gcc
parent
1bae8844ca
commit
628dc48a16
|
@ -69,6 +69,12 @@
|
|||
# define DEPRECATED __attribute__ ((deprecated))
|
||||
#else
|
||||
# define DEPRECATED
|
||||
# ifndef __FUNCTION__
|
||||
# define __FUNCTION__ __func__ /* C99 */
|
||||
# endif
|
||||
# ifndef __volatile__
|
||||
# define __volatile__ volatile
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
|
|
Loading…
Reference in New Issue