mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-04 22:28:04 +02:00
Use C99 versions of __FUNCTION__ & __volatile__ when not building with gcc
This commit is contained in:
parent
1bae8844ca
commit
628dc48a16
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue