mirror of
https://github.com/encounter/SDL.git
synced 2025-12-20 10:25:28 +00:00
Fixed ISO C99 compatibility
SDL now builds with gcc 7.2 with the following command line options: -Wall -pedantic-errors -Wno-deprecated-declarations -Wno-overlength-strings --std=c99
This commit is contained in:
@@ -81,6 +81,9 @@ extern SDL_bool SDL_Vulkan_GetInstanceExtensions_Helper(unsigned *userCount,
|
||||
/* No SDL Vulkan support, just include the header for typedefs */
|
||||
#include "SDL_vulkan.h"
|
||||
|
||||
typedef void* PFN_vkGetInstanceProcAddr;
|
||||
typedef void* PFN_vkEnumerateInstanceExtensionProperties;
|
||||
|
||||
#endif /* SDL_VIDEO_VULKAN */
|
||||
|
||||
#endif /* SDL_vulkan_internal_h_ */
|
||||
|
||||
Reference in New Issue
Block a user