mapi: remove unneeded ARRAY_SIZE #define
[mesa.git] / src / mapi / stub.c
index dfadbe1a5d312da1476c5bd74a7f9bb915299fab..953b6c75c3198536d3dcb0a8f9a81a862241860e 100644 (file)
 #include <string.h>
 #include <assert.h>
 
+#include "util/macros.h"
 #include "u_current.h"
 #include "u_thread.h"
 #include "entry.h"
 #include "stub.h"
 #include "table.h"
 
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
 
 struct mapi_stub {
    const void *name;