alter platform-dependent preprocessor macros to use the same names as the rest of...
[ardour.git] / libs / backends / wavesaudio / wavesapi / wavespublicapi / wstdint.h
index a9336966388ecc0cd610c913b1ad2cd229108a2b..606a4914e5cf51478a420f7c3680e0e63b46e5fe 100644 (file)
@@ -1,21 +1,3 @@
-/*
-    Copyright (C) 2013 Waves Audio Ltd.
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-*/
 #ifndef __stdint_h__
 #define __stdint_h__
 
@@ -24,7 +6,7 @@
 */
 
 
-#ifdef __MACOS__
+#ifdef __APPLE__
        #include <stddef.h>
        #include </usr/include/stdint.h>  // Mac has this file in /usr/includez
 #endif
@@ -37,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.
@@ -353,6 +335,6 @@ typedef uint32_t uintmax_t;
 
 #endif /* (_MSC_VER < 1400) */
 
-#endif /* #ifdef _WINDOWS */
+#endif /* #ifdef PLATFORM_WINDOWS */
 
 #endif /* __stdint_h__ */