From: Robin Dunn Date: Mon, 1 Jul 2002 17:45:31 +0000 (+0000) Subject: Fixed "different linkage" compile error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/82805fe2805636891305796658219faa038677a4 Fixed "different linkage" compile error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index 62a7b9a2d6..5c8037fb15 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -233,7 +233,7 @@ void GSocket_SetTimeout(GSocket *socket, unsigned long millisec); * operations do not clear this back to GSOCK_NOERROR, so use it only * after an error. */ -GSocketError GSocket_GetError(GSocket *socket); +GSocketError WXDLLEXPORT GSocket_GetError(GSocket *socket); /* Callbacks */ diff --git a/src/msw/gsocket.c b/src/msw/gsocket.c index 26388159d7..4490c43ada 100644 --- a/src/msw/gsocket.c +++ b/src/msw/gsocket.c @@ -792,7 +792,7 @@ void GSocket_SetTimeout(GSocket *socket, unsigned long millis) * operations do not clear this back to GSOCK_NOERROR, so use it only * after an error. */ -GSocketError WXDLLEXPORT GSocket_GetError(GSocket *socket) +GSocketError GSocket_GetError(GSocket *socket) { assert(socket != NULL);