112 |
// to be safely #include'd whatever the platform to keep client code portable |
// to be safely #include'd whatever the platform to keep client code portable |
113 |
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) |
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) |
114 |
|
|
115 |
|
// gcc 4.4 is using the same calling conventions as Microsoft on Win64 |
116 |
|
#if !defined(__WIN64__) |
117 |
|
|
118 |
// If microsoft compiler we can call IASIO directly so IASIOThiscallResolver |
// If microsoft compiler we can call IASIO directly so IASIOThiscallResolver |
119 |
// is not used. |
// is not used. |
120 |
#if !defined(_MSC_VER) |
#if !defined(_MSC_VER) |
192 |
#define ASIOInit(name) IASIOThiscallResolver::ASIOInit((name)) |
#define ASIOInit(name) IASIOThiscallResolver::ASIOInit((name)) |
193 |
|
|
194 |
#endif /* !defined(_MSC_VER) */ |
#endif /* !defined(_MSC_VER) */ |
195 |
|
#endif /* !defined(__WIN64__) */ |
196 |
#endif /* Win32 */ |
#endif /* Win32 */ |
197 |
|
|
198 |
#endif /* included_iasiothiscallresolver_h */ |
#endif /* included_iasiothiscallresolver_h */ |