diff -r 9e496a2aadca -r b9274b595650 include/can_driver.h --- a/include/can_driver.h Fri Nov 12 22:02:32 2010 +0100 +++ b/include/can_driver.h Fri Nov 12 22:24:06 2010 +0100 @@ -46,7 +46,11 @@ }; #ifndef DLL_CALL +#if !defined(WIN32) || defined(__CYGWIN__) #define DLL_CALL(funcname) funcname##_driver +#else +//Windows was missing the definition of the calling convention +#define DLL_CALL(funcname) __stdcall funcname##_driver #endif #ifndef FCT_PTR_INIT