projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978753e
)
glx: Include util/macros.h instead of redefining PRINTFLIKE.
author
Jose Fonseca
<jfonseca@vmware.com>
Thu, 2 Apr 2015 10:25:06 +0000
(11:25 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Mon, 13 Apr 2015 11:03:33 +0000
(12:03 +0100)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/glx/dri_common.h
patch
|
blob
|
history
diff --git
a/src/glx/dri_common.h
b/src/glx/dri_common.h
index 5cd150ab4d2f26a4e33556e9d7f7303d3d4efa37..947d331772fa25f42ef4226c33a0e92bce1cba43 100644
(file)
--- a/
src/glx/dri_common.h
+++ b/
src/glx/dri_common.h
@@
-39,12
+39,7
@@
#include <GL/internal/dri_interface.h>
#include <stdbool.h>
#include "loader.h"
-
-#if (__GNUC__)
-#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;