.. or rather move calling conventions to proper position
authoralfadur
Sun, 14 Oct 2018 23:09:55 +0300
changeset 13934 f8b5708835de
parent 13933 d178a834f1f4
child 13935 ef50e4f59b8f
.. or rather move calling conventions to proper position
misc/libphyslayer/physfsrwops.c
--- a/misc/libphyslayer/physfsrwops.c	Sun Oct 14 22:55:07 2018 +0300
+++ b/misc/libphyslayer/physfsrwops.c	Sun Oct 14 23:09:55 2018 +0300
@@ -24,10 +24,6 @@
 #include <stdio.h>  /* 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)
@@ -36,7 +32,7 @@
 #endif
 
 #if TARGET_SDL13
-static SDLCALL Sint64 physfsrwops_size(struct SDL_RWops *rw)
+static Sint64 SDLCALL physfsrwops_size(struct SDL_RWops *rw)
 {
     PHYSFS_File *handle = (PHYSFS_File *) rw->hidden.unknown.data1;
     return PHYSFS_fileLength(handle);
@@ -44,7 +40,7 @@
 #endif
 
 #if TARGET_SDL13
-static SDLCALL Sint64 physfsrwops_seek(struct SDL_RWops *rw, Sint64 offset, int whence)
+static Sint64 SDLCALL physfsrwops_seek(struct SDL_RWops *rw, Sint64 offset, int whence)
 #else
 static int physfsrwops_seek(SDL_RWops *rw, int offset, int whence)
 #endif