glx: unify GLX_SGIX_pbuffer aliased declarations
[mesa.git] / src / glx / apple / apple_glx_log.h
index 4b1c531d27f17d96f27a9769eadbeb1dc0bff1c3..b1a55382032ee6f783acd88f044ac715f3cd1bf9 100644 (file)
@@ -39,14 +39,14 @@ __printflike(5, 6)
 void _apple_glx_log(int level, const char *file, const char *function,
                     int line, const char *fmt, ...);
 #define apple_glx_log(l, f, args ...) \
-    _apple_glx_log(l, __FILE__, __FUNCTION__, __LINE__, f, ## args)
+    _apple_glx_log(l, __FILE__, __func__, __LINE__, f, ## args)
 
 
 __printflike(5, 0)
 void _apple_glx_vlog(int level, const char *file, const char *function,
                      int line, const char *fmt, va_list v);
 #define apple_glx_vlog(l, f, v) \
-    _apple_glx_vlog(l, __FILE__, __FUNCTION__, __LINE__, f, v)
+    _apple_glx_vlog(l, __FILE__, __func__, __LINE__, f, v)
 
 /* This is just here to help the transition.
  * TODO: Replace calls to apple_glx_diagnostic