HandmadeHero/project/platform/jsl.hpp
2023-10-21 02:09:44 -04:00

21 lines
519 B
C++

#pragma once
// Joyshock grime wrapper
// 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