DK22Pac / plugin-sdk

An SDK for developing ASI/CLEO plugins for GTA San Andreas, GTA Vice City and GTA III
zlib License
431 stars 114 forks source link

Enable SEH exceptions only when MSVC is used. #181

Closed likeawindrammer closed 8 months ago

likeawindrammer commented 8 months ago

Mingw's support for SEH exceptions isn't great, so now they will only be used if compiling with MSVC. In the future either mingw could gain support for SEH exceptions or some other workaround could be used, but for now this allows mingw to compile plugin-sdk.

This is the last patch needed to have plugin-sdk compile with mingw without errors!