/* Public domain */ /* * Try to safely include on Windows platforms. */ #if defined(_WIN32) && !defined(_XBOX) /* * Needed for WM_MOUSEWHEEL to be defined. Idiotic SDK provides us with no way * of testing whether WM_MOUSEHWEEL is defined, so we are forced to set this. */ #define _WIN32_WINDOWS 0x0401 /* tries to redefine SLIST_ENTRY(), etc. */ #include /* Fix some warnings under Cygwin. */ #include #if defined(HAVE_CYGWIN) # define USE_SYS_TYPES_FD_SET #endif #include /* Redefine the AG_Queue(3) macros */ #include #include #endif /* _WIN32 and !_XBOX */