aboutsummaryrefslogtreecommitdiffstats
path: root/make/glx-CustomCCode.c
diff options
context:
space:
mode:
Diffstat (limited to 'make/glx-CustomCCode.c')
-rwxr-xr-xmake/glx-CustomCCode.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/make/glx-CustomCCode.c b/make/glx-CustomCCode.c
index 345f13e47..218a0ebe9 100755
--- a/make/glx-CustomCCode.c
+++ b/make/glx-CustomCCode.c
@@ -7,41 +7,6 @@
#include <dlfcn.h>
#undef __USE_GNU
-/* Current versions of Solaris don't expose the XF86 extensions,
- although with the recent transition to Xorg this will probably
- happen in an upcoming release */
-#if !defined(__sun) && !defined(_HPUX)
-#include <X11/extensions/xf86vmode.h>
-#else
-/* Need to provide stubs for these */
-Bool XF86VidModeGetGammaRampSize(
- Display *display,
- int screen,
- int* size)
-{
- return False;
-}
-
-Bool XF86VidModeGetGammaRamp(
- Display *display,
- int screen,
- int size,
- unsigned short *red_array,
- unsigned short *green_array,
- unsigned short *blue_array) {
- return False;
-}
-Bool XF86VidModeSetGammaRamp(
- Display *display,
- int screen,
- int size,
- unsigned short *red_array,
- unsigned short *green_array,
- unsigned short *blue_array) {
- return False;
-}
-#endif
-
/* HP-UX doesn't define RTLD_DEFAULT. */
#if defined(_HPUX) && !defined(RTLD_DEFAULT)
#define RTLD_DEFAULT NULL