53ed7e69bc03e171b1e4956b3d44a9586121c01f
[ardour.git] / libs / backends / wavesaudio / wavesapi / devicemanager / IncludeWindows.h
1 /*
2     Copyright (C) 2014 Waves Audio Ltd.
3
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 */
19
20 #ifndef __IncludeWindows_h__
21 #define __IncludeWindows_h__
22
23 #ifdef PLATFORM_WINDOWS
24
25 /* Copy to include
26 #include "IncludeWindows.h"
27 */
28
29 #ifndef _WIN32_WINNT
30 #define _WIN32_WINNT    0x0601   // Windows 7
31 #endif
32
33 #ifndef WINVER
34 #define WINVER                  0x0601   // Windows 7
35 #endif
36
37 #ifndef WIN32_LEAN_AND_MEAN
38 #define WIN32_LEAN_AND_MEAN
39 #endif
40
41 #ifndef NOMINMAX
42 #define NOMINMAX // DO NOT REMOVE NOMINMAX - DOING SO CAUSES CONFLICTS WITH STD INCLUDES (<limits> ...)
43 #endif
44
45 #include <winsock2.h>
46 #include <windows.h>
47 #include <objbase.h>
48 #endif // #if PLATFORM_WINDOWS
49 #endif // #ifndef __IncludeWindows_h__
50