egl+glx: fix two #ifdef that should be #if like the rest

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28947>
This commit is contained in:
Eric Engestrom 2023-11-26 08:22:01 +00:00 committed by Marge Bot
parent 11b060f41a
commit 21b527632e
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
* *
*/ */
#ifdef USE_LIBGLVND #if USE_LIBGLVND
#define EGLAPI #define EGLAPI
#undef PUBLIC #undef PUBLIC
#define PUBLIC #define PUBLIC

View File

@ -35,7 +35,7 @@
#include "loader.h" #include "loader.h"
#include "glxextensions.h" #include "glxextensions.h"
#if defined(USE_LIBGLVND) #if USE_LIBGLVND
#define _GLX_PUBLIC _X_HIDDEN #define _GLX_PUBLIC _X_HIDDEN
#else #else
#define _GLX_PUBLIC _X_EXPORT #define _GLX_PUBLIC _X_EXPORT