summaryrefslogtreecommitdiffhomepage
path: root/freetrackclient
diff options
context:
space:
mode:
Diffstat (limited to 'freetrackclient')
-rw-r--r--freetrackclient/freetrackclient.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/freetrackclient/freetrackclient.c b/freetrackclient/freetrackclient.c
index 6ac833f5..7f085af4 100644
--- a/freetrackclient/freetrackclient.c
+++ b/freetrackclient/freetrackclient.c
@@ -22,10 +22,10 @@
# warning "expect misnamed symbols"
#endif
+#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wvariadic-macros"
#pragma GCC diagnostic ignored "-Wunused-parameter"
-
-#define NP_AXIS_MAX 16383
+#endif
#include <string.h>
#include <windows.h>
@@ -110,8 +110,10 @@ FT_EXPORT(const char*) FTProvider(void)
return dllProvider;
}
+#ifdef _MSC_VER
#pragma comment (linker, "/export:FTReportID=_FTReportID@4")
#pragma comment (linker, "/export:FTReportName=_FTReportName@4")
#pragma comment (linker, "/export:FTGetDllVersion=_FTGetDllVersion@0")
#pragma comment (linker, "/export:FTProvider=_FTProvider@0")
#pragma comment (linker, "/export:FTGetData=_FTGetData@4")
+#endif \ No newline at end of file