gallium: Obtain ARB_framebuffer_no_attachment constants
[mesa.git] / src / glx / dri_common.h
index 6234fd812bf28f970b48bc64e932934ec38de26f..947d331772fa25f42ef4226c33a0e92bce1cba43 100644 (file)
 #include <GL/internal/dri_interface.h>
 #include <stdbool.h>
 #include "loader.h"
-
-#if (__GNUC__ >= 3)
-#define PRINTFLIKE(f, a) __attribute__ ((format(__printf__, f, a)))
-#else
-#define PRINTFLIKE(f, a)
-#endif
+#include "util/macros.h" /* for PRINTFLIKE */
 
 typedef struct __GLXDRIconfigPrivateRec __GLXDRIconfigPrivate;