diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-16 23:46:12 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-16 23:54:29 +0200 |
commit | 72ec704bfeedfc152cd7e7118bb2f3cf935e1f57 (patch) | |
tree | 66323cd008147daae5cb0646c0c55e41571e0c2e /freetrackclient | |
parent | 1c76802348d60f5efa773206269c94322df36a90 (diff) |
freetrackclient: update
Diffstat (limited to 'freetrackclient')
-rw-r--r-- | freetrackclient/freetrackclient.c | 6 |
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 |