From 0035bfd080f5a3b472505ca3b7785a900a4d9a30 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Thu, 8 Nov 2001 21:52:23 +0000 Subject: [PATCH] Fixed savemsg() definition to be Borland C++ compatible (needs __stdcall). --- src/sbbs3/postmsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/postmsg.cpp b/src/sbbs3/postmsg.cpp index 8aeca7d37f..00ec6f09b2 100644 --- a/src/sbbs3/postmsg.cpp +++ b/src/sbbs3/postmsg.cpp @@ -346,7 +346,7 @@ bool sbbs_t::postmsg(uint subnum, smbmsg_t *remsg, long wm_mode) return(true); } -extern "C" int savemsg(scfg_t* cfg, smb_t* smb, uint subnum, smbmsg_t* msg, char* msgbuf) +extern "C" int DLLCALL savemsg(scfg_t* cfg, smb_t* smb, uint subnum, smbmsg_t* msg, char* msgbuf) { char pad=0; ushort xlat; -- GitLab