mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
GRAPHICS: OPENGL: Allow sscanf_s for GLAD
It is properly guarded so it won't bring any portability problem and the file is autogenerated so this avoids to patch the file.
This commit is contained in:
parent
a31ea07f82
commit
7794de5e5e
@ -20,6 +20,12 @@
|
||||
*/
|
||||
|
||||
#define GLAD_GL_IMPLEMENTATION
|
||||
// sscanf_s is used by glad on MSVC only
|
||||
// we can't know before c=config.h is loaded that GLAD will be used
|
||||
// but at this time it will be too late to allow sscanf_s
|
||||
#ifdef _MSC_VER
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_sscanf_s
|
||||
#endif
|
||||
|
||||
#include "graphics/opengl/context.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user