From: Chia-I Wu Date: Fri, 24 Dec 2010 08:04:14 +0000 (+0800) Subject: mapi: Define MAPI_TMP_DEFINES only when needed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a33e9f049db5b7c9f3d801d3ffa7312e9a5d9637;p=mesa.git mapi: Define MAPI_TMP_DEFINES only when needed. Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h. --- diff --git a/src/mapi/mapi/table.c b/src/mapi/mapi/table.c index 8f4f700b920..7c760201a97 100644 --- a/src/mapi/mapi/table.c +++ b/src/mapi/mapi/table.c @@ -52,5 +52,6 @@ noop_generic(void) } /* define noop_array */ +#define MAPI_TMP_DEFINES #define MAPI_TMP_NOOP_ARRAY #include "mapi_tmp.h" diff --git a/src/mapi/mapi/table.h b/src/mapi/mapi/table.h index 174057d6422..c93ebe75cf9 100644 --- a/src/mapi/mapi/table.h +++ b/src/mapi/mapi/table.h @@ -32,7 +32,6 @@ #include "u_compiler.h" #include "stub.h" -#define MAPI_TMP_DEFINES #define MAPI_TMP_TABLE #include "mapi_tmp.h"