equal
deleted
inserted
replaced
47 |
47 |
48 #ifndef DLL_CALL |
48 #ifndef DLL_CALL |
49 #if !defined(WIN32) || defined(__CYGWIN__) |
49 #if !defined(WIN32) || defined(__CYGWIN__) |
50 #define DLL_CALL(funcname) funcname##_driver |
50 #define DLL_CALL(funcname) funcname##_driver |
51 #else |
51 #else |
|
52 #define LIBAPI __stdcall |
52 //Windows was missing the definition of the calling convention |
53 //Windows was missing the definition of the calling convention |
53 #define DLL_CALL(funcname) __stdcall funcname##_driver |
54 #define DLL_CALL(funcname) LIBAPI funcname##_driver |
54 #endif |
55 #endif |
55 #endif //DLL_CALL |
56 #endif //DLL_CALL |
|
57 |
|
58 #define LIBPUBLIC |
56 |
59 |
57 #ifndef FCT_PTR_INIT |
60 #ifndef FCT_PTR_INIT |
58 #define FCT_PTR_INIT |
61 #define FCT_PTR_INIT |
59 #endif |
62 #endif |
60 |
63 |