mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
alter platform-dependent preprocessor macros to use the same names as the rest of the ardour codebase
This commit is contained in:
parent
49ad78659b
commit
49423427a6
16 changed files with 61 additions and 63 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include "WavesPublicAPI_Defines.h"
|
||||
*/
|
||||
|
||||
#ifdef __MACOS__
|
||||
#ifdef __APPLE__
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define WPAPI_DllExport __attribute__ ((visibility("default")))
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
#endif
|
||||
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
#define WPAPI_DllExport __declspec(dllexport)
|
||||
#define __WPAPI_CDECL __cdecl
|
||||
#define __WPAPI_STDCALL __stdcall
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifdef __MACOS__
|
||||
#ifdef __APPLE__
|
||||
#include <stddef.h>
|
||||
#include </usr/include/stdint.h> // Mac has this file in /usr/includez
|
||||
#endif
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
#include </usr/include/stdint.h>
|
||||
#endif
|
||||
|
||||
#if (defined (_WINDOWS) || defined(WIN32) || defined(WIN64))
|
||||
#if (defined (PLATFORM_WINDOWS) || defined(WIN32) || defined(WIN64))
|
||||
#if (_MSC_VER > 1600) || defined(__MINGW64__)
|
||||
// Taken from MSDN official page:
|
||||
// In Visual Studio 2010 _MSC_VER is defined as 1600, In Visual Studio 2012 _MSC_VER is defined as 1700.
|
||||
|
|
@ -335,6 +335,6 @@ typedef uint32_t uintmax_t;
|
|||
|
||||
#endif /* (_MSC_VER < 1400) */
|
||||
|
||||
#endif /* #ifdef _WINDOWS */
|
||||
#endif /* #ifdef PLATFORM_WINDOWS */
|
||||
|
||||
#endif /* __stdint_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue