# HG changeset patch # User alfadur # Date 1539546907 -10800 # Node ID d178a834f1f41c09b294da7e6473a57204c8897e # Parent fa9f93393e9c7fdbebdfc19dbdb6f8b75595f53f set proper sdl calling convention for vcpkg builds diff -r fa9f93393e9c -r d178a834f1f4 misc/libphyslayer/physfsrwops.c --- a/misc/libphyslayer/physfsrwops.c Sun Oct 14 21:13:32 2018 +0200 +++ b/misc/libphyslayer/physfsrwops.c Sun Oct 14 22:55:07 2018 +0300 @@ -24,6 +24,10 @@ #include /* used for SEEK_SET, SEEK_CUR, SEEK_END ... */ #include "physfsrwops.h" +#ifdef WIN32_VCPKG +#define SDLCALL __cdecl +#endif + /* SDL's RWOPS interface changed a little in SDL 1.3... */ #if defined(SDL_VERSION_ATLEAST) #if SDL_VERSION_ATLEAST(1, 3, 0)