From 72ec704bfeedfc152cd7e7118bb2f3cf935e1f57 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 16 Jul 2016 23:46:12 +0200 Subject: freetrackclient: update --- freetrackclient/freetrackclient.c | 6 ++++-- 1 file 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 #include @@ -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 -- cgit v1.2.3