cAudio
2.3.0
3d Audio Engine
cAudio
include
cAudioPlatform.h
1
// Copyright (c) 2008-2011 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones, Murat (wolfmanfx) Sari
2
// This file is part of the "cAudio Engine"
3
// For conditions of distribution and use, see copyright notice in cAudio.h
4
5
#pragma once
6
7
#if !defined( CAUDIO_PLATFORM_WIN )
8
# if defined( WIN32 ) || defined( _WINDOWS ) || defined(_WIN32)
9
# define CAUDIO_PLATFORM_WIN
10
# endif
11
#endif
12
13
#if !defined( CAUDIO_PLATFORM_MAC ) || !defined( CAUDIO_PLATFORM_IPHONE )
14
# if defined( __APPLE__ ) || defined( __APPLE_CC__ ) || defined( MACOSX )
15
# if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 30000 || __IPHONE_OS_VERSION_MIN_REQUIRED >= 30000
16
# define CAUDIO_PLATFORM_IPHONE
17
# else
18
# define CAUDIO_PLATFORM_MAC
19
# endif
20
# endif
21
#endif
22
23
#if !defined( CAUDIO_PLATFORM_LINUX )
24
# if defined(_UNIX) || defined(__linux)
25
# define CAUDIO_PLATFORM_LINUX
26
# endif
27
#endif
28
29
#ifndef CAUDIO_COMPILIER_GCC
30
# if defined(__GNUC__) || defined(__GCCXML__)
31
# define CAUDIO_COMPILIER_GCC
32
# endif
33
#endif
34
35
#ifndef CAUDIO_COMPILIER_MSVC
36
# if defined(_MSC_VER)
37
# if _MSC_VER >= 1400
38
# define CAUDIO_COMPILIER_MSVC
39
# else
40
# error This version of the MSVC compilier is not supported
41
# endif
42
# endif
43
#endif
44
45
#ifndef CAUDIO_COMPILER_MINGW
46
# if defined(__MINGW32__)
47
# define CAUDIO_COMPILER_MINGW
48
# endif
49
#endif
50
51
52
#ifdef CAUDIO_PLATFORM_WIN
53
#ifndef NOMINMAX
54
#define NOMINMAX
55
#endif
56
#define WIN32_LEAN_AND_MEAN
57
#define _CRT_SECURE_NO_WARNINGS 1
58
#if defined(_DEBUG) && !defined(DEBUG)
59
#define DEBUG _DEBUG
60
#endif
61
#ifndef DEBUG
62
#define _SECURE_SCL 0
63
#define _HAS_ITERATOR_DEBUGGING 0
64
#endif
65
#include <windows.h>
//Basic windows includes
66
#endif
Generated on Mon Jul 23 2018 16:23:04 for cAudio by
1.8.14