From 6f76efa9224f6a1cbe35f419172549abafdd751e Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 7 Dec 2011 16:12:21 -0800 Subject: [PATCH] glx: Make __glXSendError available in non-Apple builds Signed-off-by: Ian Romanick Reviewed-by: Adam Jackson Reviewed-by: Eric Anholt Cc: Jeremy Huddleston --- src/glx/Makefile | 1 + src/glx/apple/Makefile | 2 +- src/glx/{apple => }/glx_error.c | 0 src/glx/{apple => }/glx_error.h | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename src/glx/{apple => }/glx_error.c (100%) rename src/glx/{apple => }/glx_error.h (100%) diff --git a/src/glx/Makefile b/src/glx/Makefile index dd96973ea8f..183ffb188ad 100644 --- a/src/glx/Makefile +++ b/src/glx/Makefile @@ -15,6 +15,7 @@ SOURCES = \ glxconfig.c \ glxcmds.c \ glxcurrent.c \ + glx_error.c \ glxext.c \ glxextensions.c \ indirect_glx.c \ diff --git a/src/glx/apple/Makefile b/src/glx/apple/Makefile index 6868d28451b..66e665849ad 100644 --- a/src/glx/apple/Makefile +++ b/src/glx/apple/Makefile @@ -39,7 +39,7 @@ SOURCES = \ ../compsize.c \ ../glxconfig.c \ glx_empty.c \ - glx_error.c \ + ../glx_error.c \ ../glx_pbuffer.c \ ../glx_query.c \ ../glxcmds.c \ diff --git a/src/glx/apple/glx_error.c b/src/glx/glx_error.c similarity index 100% rename from src/glx/apple/glx_error.c rename to src/glx/glx_error.c diff --git a/src/glx/apple/glx_error.h b/src/glx/glx_error.h similarity index 100% rename from src/glx/apple/glx_error.h rename to src/glx/glx_error.h -- 2.30.2