diff options
-rw-r--r-- | src/mapi/glapi/tests/Makefile.am | 1 | ||||
-rw-r--r-- | src/mapi/glapi/tests/check_table.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/glapi/tests/Makefile.am b/src/mapi/glapi/tests/Makefile.am index 3553b998a88..26149c902ac 100644 --- a/src/mapi/glapi/tests/Makefile.am +++ b/src/mapi/glapi/tests/Makefile.am @@ -1,6 +1,7 @@ if !HAVE_SHARED_GLAPI AM_CFLAGS = $(PTHREAD_CFLAGS) AM_CPPFLAGS = \ + $(DEFINES) \ -I$(top_srcdir)/src/gtest/include \ -I$(top_srcdir)/src/mapi \ -I$(top_srcdir)/include diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp index dffec83270d..375645b9406 100644 --- a/src/mapi/glapi/tests/check_table.cpp +++ b/src/mapi/glapi/tests/check_table.cpp @@ -1511,7 +1511,7 @@ const struct name_offset known_dispatch[] = { { NULL, 0 } }; -#ifndef GLX_INDIRECT_RENDERING +#ifdef GLX_INDIRECT_RENDERING extern "C" { GLAPI GLboolean GLAPIENTRY glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, |