diff options
Diffstat (limited to 'freetrackclient')
-rw-r--r-- | freetrackclient/freetrackclient.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/freetrackclient/freetrackclient.c b/freetrackclient/freetrackclient.c index 7f085af4..2049d91e 100644 --- a/freetrackclient/freetrackclient.c +++ b/freetrackclient/freetrackclient.c @@ -32,7 +32,12 @@ #include "fttypes.h" -#define FT_EXPORT(t) t __stdcall +#if !defined _WIN64 +# define FT_EXPORT(t) t __stdcall +#else +# define FT_EXPORT(t) __declspec(dllexport) t +#endif + #if 0 # include <stdio.h> @@ -110,10 +115,10 @@ FT_EXPORT(const char*) FTProvider(void) return dllProvider; } -#ifdef _MSC_VER +#if defined _MSC_VER && !defined _WIN64 #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 +#endif |