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-10-20 23:09:44 -07:00
|
|
|
#ifdef Compiler_Clang
|
2023-09-20 21:26:23 -07:00
|
|
|
# pragma clang diagnostic push
|
|
|
|
# pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
|
2023-10-20 23:09:44 -07:00
|
|
|
#elif Compiler_MSVC
|
2023-09-20 21:26:23 -07:00
|
|
|
# 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-10-20 23:09:44 -07:00
|
|
|
#ifdef Compiler_Clang
|
2023-09-20 21:26:23 -07:00
|
|
|
# pragma clang diagnostic pop
|
2023-10-20 23:09:44 -07:00
|
|
|
#elif Compiler_MSVC
|
2023-09-20 21:26:23 -07:00
|
|
|
# pragma warning( pop )
|
2023-09-23 18:03:33 -07:00
|
|
|
#endif
|