summaryrefslogtreecommitdiffhomepage
path: root/freetrackclient
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@tehran.lain.pl>2019-10-30 05:40:21 +0100
committerGitHub <noreply@github.com>2019-10-30 05:40:21 +0100
commitebf9de109b86336b8844fc6fd15a34760481de5e (patch)
tree2543e9a2e5f3ca5133141e11b2962c26fdaf3951 /freetrackclient
parent2716d8e2ae7df7fb99d9d64d1efaa554d1d38034 (diff)
parent29591277d9cae18895ef03cb858b2b327813830e (diff)
Merge pull request #996 from opentrack/pr/proton-wine-proto
add support for proton wine
Diffstat (limited to 'freetrackclient')
-rw-r--r--freetrackclient/freetrackclient.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/freetrackclient/freetrackclient.c b/freetrackclient/freetrackclient.c
index 2049d91e..80169771 100644
--- a/freetrackclient/freetrackclient.c
+++ b/freetrackclient/freetrackclient.c
@@ -18,10 +18,6 @@
* * created by the FreeTrack developers. *
*/
-#ifndef _MSC_VER
-# warning "expect misnamed symbols"
-#endif
-
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wvariadic-macros"
#pragma GCC diagnostic ignored "-Wunused-parameter"
@@ -32,7 +28,7 @@
#include "fttypes.h"
-#if !defined _WIN64
+#if defined _MSC_VER && !defined _WIN64
# define FT_EXPORT(t) t __stdcall
#else
# define FT_EXPORT(t) __declspec(dllexport) t