summaryrefslogtreecommitdiff
path: root/include/SDL_config_windows.h
AgeCommit message (Collapse)AuthorFilesLines
2019-01-04Updated copyright for 2019Sam Lantinga1-1/+1
2018-09-28configury, cmake: add check for endpointvolume.h :Ozkan Sezer1-0/+3
add HAVE_ENDPOINTVOLUME_H, HAVE_MMDEVICEAPI_H and HAVE_AUDIOCLIENT_H in SDL_config.h.in, SDL_config.h.cmake, SDL_config_windows.h, and in SDL_config_winrt.h.
2018-08-21Added a dummy sensor driverSam Lantinga1-0/+3
2018-08-09Re-enabled the HIDAPI joystick driver on Windows and Mac OS XSam Lantinga1-1/+1
2018-08-09SDL: disable HIDAPI in SDL on Windows/Mac.Sam Lantinga1-1/+1
2018-08-09Added HIDAPI joystick drivers for more consistent support for Xbox, PS4 and ↵Sam Lantinga1-0/+1
Nintendo Switch Pro controller support across platforms. Added SDL_GameControllerRumble() and SDL_JoystickRumble() for simple force feedback outside of the SDL haptics API
2018-08-04SDL_expEthan Lee1-0/+2
2018-01-17SDL_log10Ethan Lee1-0/+2
2018-01-03Updated copyright for 2018Sam Lantinga1-1/+1
2017-12-06audio: Port WASAPI to WinRT, remove XAudio2 backend.Ryan C. Gordon1-1/+0
XAudio2 doesn't have capture support, so WASAPI was to replace it; the holdout was WinRT, which still needed it as its primary audio target until the WASAPI code code be made to work. The support matrix now looks like: WinXP: directsound by default, winmm as a fallback for buggy drivers. Vista+: WASAPI (directsound and winmm as fallbacks for debugging). WinRT: WASAPI
2017-11-04Fixed compiling on Windows with HAVE_LIBC enabledSam Lantinga1-4/+6
2017-11-04Added SDL_fmod() and SDL_fmodf()Sam Lantinga1-19/+30
2017-09-10Fixed bug 3811 - change HAVE_COPYSIGN to HAVE__COPYSIGN in SDL_config_windows.hSam Lantinga1-1/+1
Ozkan Sezer The patch below changes HAVE_COPYSIGN macro in SDL_config_windows.h to HAVE__COPYSIGN, so that _copysign() can be used in SDL_stdlib.h which is available in many more windows-targeting toolchains such as MinGW, MSVC >= 6, etc, and not just MSVC >= 2013. SDL_stdlib.c already has a specific check for HAVE__COPYSIGN, so I believe this is reasonable.
2017-09-10Correction: copysign has been supported by windows several toolchainsSam Lantinga1-1/+1
for a very long time, including MSVC6, MinGW, LCC-Win32, (no released watcom versions though, but that's of no concern.) Patch from Ozkan Sezer
2017-09-09Fixed bug 3760 - RWops doesn't check for integer overflow when stdio_fseek ↵Sam Lantinga1-3/+11
only supports 32 bits Simon Hug When RWops seeks with fseek or fseeko it uses the types long or off_t which can be 32 bits on some platforms. stdio_seek does not check if the 64-bit integer for the offset fits into a 32-bit integer. Offsets equal or larger than 2 GiB will have implementation-defined behavior and failure states would be very confusing to debug. The attached patch adds range checking by using the macros from limits.h for long type and some bit shifting for off_t because POSIX couldn't be bothered to specify min and max macros. It also defines HAVE_FSEEKI64 in SDL_config_windows.h so that the Windows function gets picked up automatically with the default config. And there's an additional error message for when ftell fails.
2017-09-06Fixed bug 3797 - configure check for float.hSam Lantinga1-0/+1
Ozkan Sezer Cmake checks for float.h, but configure does not: the attached patch adds float.h to checked headers in configury, and it adds the missing HAVE_FLOAT_H macro to SDL_config.h.cmake and SDL_config.h.in. In SDL_config_macosx.h and SDL_config_windows.h, defined HAVE_FLOAT_H as 1, where I know that it's true.
2017-08-28Be clear that disabling Vulkan surface support disables the entire SDL ↵Sam Lantinga1-1/+2
Vulkan integration
2017-08-27vulkan: Initial Vulkan support!Ryan C. Gordon1-0/+1
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.
2017-08-19Fixed building SDL applications with Visual Studio and the clang toolsetSam Lantinga1-1/+1
Also fixed building 64-bit SDL with clang. 32-bit doesn't build because of the inline assembly for C runtime support.
2017-02-20Updated config headers to override the base SDL_config.h if both are includedSam Lantinga1-0/+1
2017-02-14wasapi: Initial WASAPI support, for Windows Vista and later.Ryan C. Gordon1-0/+1
This should remain binary compatible with Windows XP, as we dynamically load anything we need and fall back to DirectSound/WinMM/XAudio2 if not available.
2017-01-01Updated copyright for 2017Sam Lantinga1-1/+1
2016-11-20Renaming of guard header names to quiet -Wreserved-id-macroSam Lantinga1-3/+3
Patch contributed by Sylvain
2016-01-02Updated copyright to 2016Sam Lantinga1-1/+1
2015-05-26Updated the copyright year to 2015Sam Lantinga1-1/+1
2014-08-17Removed SDL_round() because the license wasn't compatible with zlibSam Lantinga1-1/+0
2014-08-16Added SDL_round(), contributed by Benoit Pierre - thanks!Sam Lantinga1-0/+1
2014-07-03Split the XInput and DirectInput code so Windows RT can use the existing ↵Sam Lantinga1-0/+6
XInput support.
2014-06-07Added SDL_sqrtf(), SDL_tan(), SDL_tanf()Sam Lantinga1-0/+3
2014-05-06Fix build on Windows targets without dxgi.h, like MingW32.Ryan C. Gordon1-0/+2
2014-03-10Temporarily disabled the D3D11 renderer so we can get a build.Sam Lantinga1-1/+1
2014-03-10Converted David Ludwig's D3D11 renderer to C and optimized it.Sam Lantinga1-0/+3
The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS) This will need tweaking to fix the Windows RT build.
2014-02-02Fixed bug 2374 - Update copyright for 2014...Sam Lantinga1-1/+1
Is it that time already??
2013-11-24Added SDL_vsscanf().Ryan C. Gordon1-1/+1
2013-12-09Hook up SDL_acos and SDL_asin properly.Ryan C. Gordon1-0/+2
2013-11-22OpenGL ES support for WindowsGabriel Jacobo1-0/+10
2013-10-13Fixed function feature test for Visual Studio 2012Sam Lantinga1-2/+1
norfanin Fixes the version check for some functions that are only present with the MSVC 2013 CRT libraries. I did my testing wrong and failed to see that 2012 doesn't have these functions. Microsoft implemented them in their upcoming 2013 version, though. The attached patch changes it to the check for the next version. I also removed the HAVE_ITOA because that would require linking with oldnames.lib and it's easier to just let the SDL implementation take over.
2013-09-28Fixed bug 1820 - building SDL as a static library with static runtime ↵Sam Lantinga1-6/+10
doesn't compile/link with visual studio norfanin Adds a condition so only the MSVC 2012 compiler defines the macros for the functions of its version. Attaching a patch that adds a condition so that the HAVE_X supported by MSVC 2012 only get defined with that compiler. MSVC 2008 and 2010 will then build without any modification to the SDL source code. Also moved HAVE_M_PI to a separate check. The Microsoft headers require _USE_MATH_DEFINES to be defined before they define the constants.
2013-08-20Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.Ryan C. Gordon1-0/+3
2013-05-26Added a comment to say why C runtime is off by defaultSam Lantinga1-0/+1
2013-05-26Don't use the C runtime library on Windows, to avoid C runtime dependencies ↵Sam Lantinga1-2/+0
and manifest issues.
2013-05-26Don't assume the XAudio2 APIs will never be availableSam Lantinga1-2/+0
2013-05-18File style cleanup for the SDL 2.0 releaseSam Lantinga1-20/+20
2013-02-15Happy New Year!Sam Lantinga1-1/+1
2012-12-22The latest version of MinGW-w64 has the necessary headers and libraries: ↵Sam Lantinga1-5/+0
http://mingw-w64.sourceforge.net/
2012-10-20Make it possible to build a DLL with mingw that's ABI compatible with Visual ↵Sam Lantinga1-0/+7
C++ built applications
2012-09-15Removed Windows CE support from SDL 2.0.Ryan C. Gordon1-17/+0
It's a long-dead platform, and we don't have any way to build for, test, or maintain it, so there's no sense in doing acrobatics to support it. If you need Windows CE support, use SDL 1.2. If you need Windows Phone support, send SDL 2.0 patches for the newer Windows Mobile platform.
2011-12-31Happy New Year!Sam Lantinga1-1/+1
2011-08-04Implemented XAudio2 target for Windows (and Xbox360, theoretically!).Ryan C. Gordon1-0/+1
2011-08-04Reworked Windows waveOut code.Ryan C. Gordon1-1/+1
Implemented multi-device support, changed name to "winmm".