mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
mapi: remove unneeded ARRAY_SIZE #define
include util/macros.h instead. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
0339e7dbda
commit
25a847d9cc
3 changed files with 3 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ AM_CPPFLAGS = \
|
|||
$(DEFINES) \
|
||||
$(SELINUX_CFLAGS) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
-I$(top_builddir)/src/mapi
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ def mapi_objects(env, printer, mode):
|
|||
cpppath = [
|
||||
header[0].dir,
|
||||
'#/include',
|
||||
'#/src',
|
||||
'#/src/mapi',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -29,13 +29,13 @@
|
|||
#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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue