VACoreDefinitions.h 1.07 KB
Newer Older
Jonas Stienen's avatar
Jonas Stienen committed
1
/*
2
 *  --------------------------------------------------------------------------------------------
Jonas Stienen's avatar
Jonas Stienen committed
3
 *
4
5
6
7
8
9
 *    VVV        VVV A           Virtual Acoustics (VA) | http://www.virtualacoustics.org
 *     VVV      VVV AAA          Licensed under the Apache License, Version 2.0
 *      VVV    VVV   AAA
 *       VVV  VVV     AAA        Copyright 2015-2017
 *        VVVVVV       AAA       Institute of Technical Acoustics (ITA)
 *         VVVV         AAA      RWTH Aachen University
Jonas Stienen's avatar
Jonas Stienen committed
10
 *
11
 *  --------------------------------------------------------------------------------------------
Jonas Stienen's avatar
Jonas Stienen committed
12
13
 */

14
15
#ifndef IW_VACORE_DEFINITIONS
#define IW_VACORE_DEFINITIONS
Jonas Stienen's avatar
Jonas Stienen committed
16
17
18
19

#include <string>
#include <vector>

20
#if ( defined WIN32 ) && !( ( defined VACORE_STATIC ) || ( defined VA_STATIC ) )
Jonas Stienen's avatar
Jonas Stienen committed
21
	#ifdef VACORE_EXPORTS
22
		#define VACORE_API __declspec( dllexport )
Jonas Stienen's avatar
Jonas Stienen committed
23
	#else
24
		#define VACORE_API __declspec( dllimport )
Jonas Stienen's avatar
Jonas Stienen committed
25
26
27
28
29
30
	#endif
#else
	#define VACORE_API
#endif

// Disable STL template-instantiiation warning with DLLs for Visual C++
31
32
#if defined( _MSC_VER )
#pragma warning( disable: 4251 )
Jonas Stienen's avatar
Jonas Stienen committed
33
34
#endif

35
#endif // IW_VACORE_DEFINITIONS