summaryrefslogtreecommitdiffhomepage
path: root/freetrackclient/freetrackclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'freetrackclient/freetrackclient.c')
-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