diff options
-rw-r--r-- | shared-core/drm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h index b97ba098..97fab9a9 100644 --- a/shared-core/drm.h +++ b/shared-core/drm.h @@ -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__) |