mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-12-22 14:24:43 -08:00
21 lines
519 B
C++
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
|