Make headerguards check for double-inclusion of our own headers.

Since I was touching these bits, it was easy enough to make sure that
our header guards work on our own headers.
macos/v1.5.9
Eric Anholt 11 years ago
parent f10bff9bc0
commit 7f68641d1b
  1. 4
      test/headerguards.c

@ -27,14 +27,18 @@
#ifdef BUILD_EGL #ifdef BUILD_EGL
#include <epoxy/egl.h> #include <epoxy/egl.h>
#include <epoxy/egl.h>
#endif #endif
#ifdef BUILD_GLX #ifdef BUILD_GLX
#include <epoxy/glx.h> #include <epoxy/glx.h>
#include <epoxy/glx.h>
#endif #endif
#ifdef BUILD_EGL #ifdef BUILD_EGL
#include <EGL/egl.h> #include <EGL/egl.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <EGL/eglext.h> #include <EGL/eglext.h>
#endif #endif

Loading…
Cancel
Save