# HG changeset patch # User Christian Taedcke # Date 1337668340 -7200 # Node ID 92b7c9f85aad83851547f6646f98fffd7b21c110 # Parent aebbcdd345907ad9362de308274a64c1a71ff2f6 Win32 fixes: - added macros used by driver can_peak_win32 diff -r aebbcdd34590 -r 92b7c9f85aad include/can_driver.h --- 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