--- a/include/can_driver.h Tue May 22 08:14:52 2012 +0200
+++ b/include/can_driver.h Tue May 22 08:32:20 2012 +0200
@@ -49,11 +49,14 @@
#if !defined(WIN32) || defined(__CYGWIN__)
#define DLL_CALL(funcname) funcname##_driver
#else
+#define LIBAPI __stdcall
//Windows was missing the definition of the calling convention
-#define DLL_CALL(funcname) __stdcall funcname##_driver
+#define DLL_CALL(funcname) LIBAPI funcname##_driver
#endif
#endif //DLL_CALL
+#define LIBPUBLIC
+
#ifndef FCT_PTR_INIT
#define FCT_PTR_INIT
#endif