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 #define DLL_CALL(funcname) funcname##_driver |
50 #define DLL_CALL(funcname) funcname##_driver |
|
51 #else |
|
52 //Windows was missing the definition of the calling convention |
|
53 #define DLL_CALL(funcname) __stdcall funcname##_driver |
50 #endif |
54 #endif |
51 |
55 |
52 #ifndef FCT_PTR_INIT |
56 #ifndef FCT_PTR_INIT |
53 #define FCT_PTR_INIT |
57 #define FCT_PTR_INIT |
54 #endif |
58 #endif |