2023-10-06 23:33:39 -07:00
|
|
|
#pragma once
|
2023-09-20 21:26:23 -07:00
|
|
|
|
2023-10-06 23:33:39 -07:00
|
|
|
// Joyshock grime wrapper
|
2023-09-24 19:37:05 -07:00
|
|
|
// JoyShock does not provide a proper c-linkage definition for its structs, so we have to push this warning ignore.
|
2023-10-06 23:33:39 -07:00
|
|
|
|
2023-09-20 21:26:23 -07:00
|
|
|
#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 )
|
2023-09-15 18:35:27 -07:00
|
|
|
#endif
|
|
|
|
|
2023-09-23 18:03:33 -07:00
|
|
|
#include "dependencies/JoyShockLibrary/JoyShockLibrary.h"
|
2023-09-15 18:35:27 -07:00
|
|
|
|
2023-09-20 21:26:23 -07:00
|
|
|
#ifdef COMPILER_CLANG
|
|
|
|
# pragma clang diagnostic pop
|
|
|
|
#elif COMPILER_MSVC
|
|
|
|
# pragma warning( pop )
|
2023-09-23 18:03:33 -07:00
|
|
|
#endif
|