mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-11-10 03:44:53 -08:00
21 lines
527 B
C++
21 lines
527 B
C++
// Joyshock grime wrapper
|
|
|
|
#include "grime.hpp"
|
|
|
|
// JoyShock does not provide a proper c-linkage definition for its structs, so we have to push this warning ignore.
|
|
#ifdef COMPILER_CLANG
|
|
# pragma clang diagnostic push
|
|
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
|
|
#elif COMPILER_MSVC
|
|
# pragma warning( push )
|
|
# pragma warning( disable: 4820 )
|
|
#endif
|
|
|
|
#include "dependencies/JoyShockLibrary/JoyShockLibrary.h"
|
|
|
|
#ifdef COMPILER_CLANG
|
|
# pragma clang diagnostic pop
|
|
#elif COMPILER_MSVC
|
|
# pragma warning( pop )
|
|
#endif
|