Seems to get everything building again here.
#endif
#include "main/dispatch.h"
+#ifdef _GLAPI_USE_REMAP_TABLE
+
#define need_MESA_remap_table
#include "main/remap.h"
#include "main/remap_helper.h"
MESA_remap_table_functions);
}
+#endif /* _GLAPI_USE_REMAP_TABLE */
+
/**
* Initialize a dispatch table with pointers to Mesa's immediate-mode
* a dynamic entry, or the corresponding static entry, in glapi.
*/
+#if FEATURE_remap_table
+
#include "remap.h"
#include "imports.h"
#include "glapi/glapi.h"
-#if FEATURE_remap_table
-
-
#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))
#define MAX_ENTRY_POINTS 16