summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-12-24 16:04:14 +0800
committerChia-I Wu <olv@lunarg.com>2010-12-24 17:33:49 +0800
commita33e9f049db5b7c9f3d801d3ffa7312e9a5d9637 (patch)
tree1b248e372039b4a408b3a409f20965c4864e16f4 /src/mapi
parente6a7ef3ca6d7f1843a7ea3f873c8f16fe9efc48e (diff)
mapi: Define MAPI_TMP_DEFINES only when needed.
Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h.
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/mapi/table.c1
-rw-r--r--src/mapi/mapi/table.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi/table.c b/src/mapi/mapi/table.c
index 8f4f700b92..7c760201a9 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 174057d642..c93ebe75cf 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"