forked from openkylin/freeglut
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
|
/* freeglut configuration file for GNU/Linux and BSD
|
||
|
*
|
||
|
* #define to enable, #undef or delete line to disable
|
||
|
*
|
||
|
* Copy to the freeglut root directory as config.h along with altbuild/Makefile
|
||
|
*/
|
||
|
|
||
|
/* XFree86 Video Mode extension, used for game mode, requires libXxf86vm */
|
||
|
#define HAVE_X11_EXTENSIONS_XF86VMODE_H
|
||
|
/* XR&R extension, used for game mode, requires libXrandr */
|
||
|
#define HAVE_X11_EXTENSIONS_XRANDR_H
|
||
|
/* XInput2 extension, used for joystick input, requires libXi */
|
||
|
#define HAVE_X11_EXTENSIONS_XINPUT2_H
|
||
|
/* USB HID, needed for joystick on BSD, requires libusbhid */
|
||
|
#define HAVE_USBHID_H
|
||
|
/* warning and errors printed? */
|
||
|
#define FREEGLUT_PRINT_WARNINGS
|
||
|
#define FREEGLUT_PRINT_ERRORS
|
||
|
|
||
|
/* all of these should be available on relatively modern UNIX systems */
|
||
|
#define HAVE_SYS_TYPES_H /* sys/types.h */
|
||
|
#define HAVE_UNISTD_H /* unistd.h */
|
||
|
#define HAVE_SYS_TIME_H /* sys/time.h */
|
||
|
#define HAVE_SYS_PARAM_H /* sys/param.h */
|
||
|
#define HAVE_SYS_IOCTL_H /* sys/ioctl.h */
|
||
|
#define HAVE_FCNTL_H /* fcntl.h */
|
||
|
#define HAVE_ERRNO_H /* errno.h */
|
||
|
#define HAVE_GETTIMEOFDAY /* gettimeofday() */
|
||
|
#define HAVE_VFPRINTF /* vfprintf() */
|
||
|
#define HAVE_STDINT_H /* stdint.h - might not be available, undef if not found */
|
||
|
#define HAVE_INTTYPES_H /* inttypes.h */
|
||
|
#define HAVE_ULONG_LONG /* unsigned long long */
|
||
|
|
||
|
/* don't need, XParseGeometry is in libX11 */
|
||
|
#undef NEED_XPARSEGEOMETRY_IMPL
|
||
|
/* __int64 fallback is for msvc */
|
||
|
#undef HAVE_U__INT64
|