xserver-multidpi/include/xorg-server.h.in
Alan Coopersmith 8b6a750097 Fix gcc warnings about redundant declarations of fallback functions
Ensure ffs, strndup, strlcat, etc. aren't defined by our headers
if they're already defined in the system headers.

This does export the HAVE_FFS, HAVE_STRNDUP, etc. definitions to drivers,
but if you built the Xserver with a libc that had those, and then build
the drivers with a less capable libc, you're going to have problems anyway,
and this should solve some reported problems with conflicts between our
strndup definition and gcc magic for it.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2011-12-05 14:32:59 -08:00

213 lines
4.0 KiB
C

/* xorg-server.h.in -*- c -*-
*
* This file is the template file for the xorg-server.h file which gets
* installed as part of the SDK. The #defines in this file overlap
* with those from config.h, but only for those options that we want
* to export to external modules. Boilerplate autotool #defines such
* as HAVE_STUFF and PACKAGE_NAME is kept in config.h
*
* It is still possible to update config.h.in using autoheader, since
* autoheader only creates a .h.in file for the first
* AM_CONFIG_HEADER() line, and thus does not overwrite this file.
*
* However, it should be kept in sync with this file.
*/
#ifndef _XORG_SERVER_H_
#define _XORG_SERVER_H_
/* Support BigRequests extension */
#undef BIGREQS
/* Default font path */
#undef COMPILEDDEFAULTFONTPATH
/* Support Composite Extension */
#undef COMPOSITE
/* Build DPMS extension */
#undef DPMSExtension
/* Build GLX extension */
#undef GLXEXT
/* Support XDM-AUTH*-1 */
#undef HASXDMAUTH
/* Support SHM */
#undef HAS_SHM
/* Define to 1 if you have the `ffs' function. */
#undef HAVE_FFS
/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP
/* Define to 1 if you have the `strcasestr' function. */
#undef HAVE_STRCASESTR
/* Define to 1 if you have the `strlcat' function. */
#undef HAVE_STRLCAT
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
/* Define to 1 if you have the `strncasecmp' function. */
#undef HAVE_STRNCASECMP
/* Define to 1 if you have the `strndup' function. */
#undef HAVE_STRNDUP
/* Support IPv6 for TCP connections */
#undef IPv6
/* Support MIT-SHM Extension */
#undef MITSHM
/* Internal define for Xinerama */
#undef PANORAMIX
/* Support RANDR extension */
#undef RANDR
/* Support RENDER extension */
#undef RENDER
/* Support X resource extension */
#undef RES
/* Support MIT-SCREEN-SAVER extension */
#undef SCREENSAVER
/* Support SHAPE extension */
#undef SHAPE
/* Define to 1 on systems derived from System V Release 4 */
#undef SVR4
/* Support TCP socket connections */
#undef TCPCONN
/* Enable touchscreen support */
#undef TOUCHSCREEN
/* Support tslib touchscreen abstraction library */
#undef TSLIB
/* Support UNIX socket connections */
#undef UNIXCONN
/* unaligned word accesses behave as expected */
#undef WORKING_UNALIGNED_INT
/* Support XCMisc extension */
#undef XCMISC
/* Support Xdmcp */
#undef XDMCP
/* Build XFree86 BigFont extension */
#undef XF86BIGFONT
/* Support XFree86 Video Mode extension */
#undef XF86VIDMODE
/* Build XDGA support */
#undef XFreeXDGA
/* Support Xinerama extension */
#undef XINERAMA
/* Support X Input extension */
#undef XINPUT
/* XKB default rules */
#undef XKB_DFLT_RULES
/* Support loadable input and output drivers */
#undef XLOADABLE
/* Build DRI extension */
#undef XF86DRI
/* Build DRI2 extension */
#undef DRI2
/* Build Xorg server */
#undef XORGSERVER
/* Vendor release */
#undef XORG_RELEASE
/* Current Xorg version */
#undef XORG_VERSION_CURRENT
/* Build Xv Extension */
#undef XvExtension
/* Build XvMC Extension */
#undef XvMCExtension
/* Support XSync extension */
#undef XSYNC
/* Support XTest extension */
#undef XTEST
/* Support Xv Extension */
#undef XV
/* Vendor name */
#undef XVENDORNAME
/* BSD-compliant source */
#undef _BSD_SOURCE
/* POSIX-compliant source */
#undef _POSIX_SOURCE
/* X/Open-compliant source */
#undef _XOPEN_SOURCE
/* Vendor web address for support */
#undef __VENDORDWEBSUPPORT__
/* Location of configuration file */
#undef __XCONFIGFILE__
/* Name of X server */
#undef __XSERVERNAME__
/* Building vgahw module */
#undef WITH_VGAHW
/* System is BSD-like */
#undef CSRG_BASED
/* System has PC console */
#undef PCCONS_SUPPORT
/* System has PCVT console */
#undef PCVT_SUPPORT
/* System has syscons console */
#undef SYSCONS_SUPPORT
/* System has wscons console */
#undef WSCONS_SUPPORT
/* Loadable XFree86 server awesomeness */
#undef XFree86LOADER
/* Use libpciaccess */
#undef XSERVER_LIBPCIACCESS
/* X Access Control Extension */
#undef XACE
#ifdef _LP64
#define _XSERVER64 1
#endif
#endif /* _XORG_SERVER_H_ */