equal
deleted
inserted
replaced
44 char * busname; /**< The bus name on which the CAN board is connected */ |
44 char * busname; /**< The bus name on which the CAN board is connected */ |
45 char * baudrate; /**< The board baudrate */ |
45 char * baudrate; /**< The board baudrate */ |
46 }; |
46 }; |
47 |
47 |
48 #ifndef DLL_CALL |
48 #ifndef DLL_CALL |
49 #if !defined(WIN32) || defined(__CYGWIN__) |
49 #if !defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) |
|
50 #define LIBAPI |
50 #define DLL_CALL(funcname) funcname##_driver |
51 #define DLL_CALL(funcname) funcname##_driver |
51 #else |
52 #else |
52 #define LIBAPI __stdcall |
53 #define LIBAPI __stdcall |
53 //Windows was missing the definition of the calling convention |
54 //Windows was missing the definition of the calling convention |
54 #define DLL_CALL(funcname) LIBAPI funcname##_driver |
55 #define DLL_CALL(funcname) LIBAPI funcname##_driver |