OpenShot Library | libopenshot-audio
0.1.9
juce_StandardHeader.h
1
2
/** @weakgroup juce_core-system
3
* @{
4
*/
5
/*
6
==============================================================================
7
8
This file is part of the JUCE library.
9
Copyright (c) 2017 - ROLI Ltd.
10
11
JUCE is an open source library subject to commercial or open-source
12
licensing.
13
14
The code included in this file is provided under the terms of the ISC license
15
http://www.isc.org/downloads/software-support-policy/isc-license. Permission
16
To use, copy, modify, and/or distribute this software for any purpose with or
17
without fee is hereby granted provided that the above copyright notice and
18
this permission notice appear in all copies.
19
20
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
21
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
22
DISCLAIMED.
23
24
==============================================================================
25
*/
26
27
#pragma once
28
29
//==============================================================================
30
/** Current JUCE version number.
31
32
See also SystemStats::getJUCEVersion() for a string version.
33
*/
34
#define JUCE_MAJOR_VERSION 5
35
#define JUCE_MINOR_VERSION 4
36
#define JUCE_BUILDNUMBER 3
37
38
/** Current JUCE version number.
39
40
Bits 16 to 32 = major version.
41
Bits 8 to 16 = minor version.
42
Bits 0 to 8 = point release.
43
44
See also SystemStats::getJUCEVersion() for a string version.
45
*/
46
#define JUCE_VERSION ((JUCE_MAJOR_VERSION << 16) + (JUCE_MINOR_VERSION << 8) + JUCE_BUILDNUMBER)
47
48
49
//==============================================================================
50
#include <memory>
51
#include <cmath>
52
#include <vector>
53
#include <iostream>
54
#include <functional>
55
#include <algorithm>
56
#include <limits>
57
#include <atomic>
58
#include <sstream>
59
#include <iomanip>
60
#include <map>
61
62
//==============================================================================
63
#include "juce_CompilerSupport.h"
64
#include "juce_PlatformDefs.h"
65
66
//==============================================================================
67
// Now we'll include some common OS headers..
68
#if JUCE_MSVC
69
#pragma warning (push)
70
#pragma warning (disable: 4514 4245 4100)
71
#include <intrin.h>
72
#endif
73
74
#if JUCE_MAC || JUCE_IOS
75
#include <libkern/OSAtomic.h>
76
#include <xlocale.h>
77
#endif
78
79
#if JUCE_LINUX
80
#include <cstring>
81
#include <signal.h>
82
83
#if __INTEL_COMPILER
84
#if __ia64__
85
#include <ia64intrin.h>
86
#else
87
#include <ia32intrin.h>
88
#endif
89
#endif
90
#endif
91
92
#if JUCE_MSVC && JUCE_DEBUG
93
#include <crtdbg.h>
94
#endif
95
96
#if JUCE_MSVC
97
#pragma warning (pop)
98
#endif
99
100
#if JUCE_MINGW
101
#include <cstring>
102
#include <sys/types.h>
103
#endif
104
105
#if JUCE_ANDROID
106
#include <cstring>
107
#include <atomic>
108
#include <byteswap.h>
109
#endif
110
111
// undef symbols that are sometimes set by misguided 3rd-party headers..
112
#undef TYPE_BOOL
113
#undef max
114
#undef min
115
#undef major
116
#undef minor
117
#undef KeyPress
118
119
// Include a replacement for std::function
120
#if JUCE_PROJUCER_LIVE_BUILD
121
#include "../misc/juce_StdFunctionCompat.h"
122
#endif
123
124
//==============================================================================
125
// DLL building settings on Windows
126
#if JUCE_MSVC
127
#ifdef JUCE_DLL_BUILD
128
#define JUCE_API __declspec (dllexport)
129
#pragma warning (disable: 4251)
130
#elif defined (JUCE_DLL)
131
#define JUCE_API __declspec (dllimport)
132
#pragma warning (disable: 4251)
133
#endif
134
#ifdef __INTEL_COMPILER
135
#pragma warning (disable: 1125) // (virtual override warning)
136
#endif
137
#elif defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)
138
#define JUCE_API __attribute__ ((visibility("default")))
139
#endif
140
141
//==============================================================================
142
#ifndef JUCE_API
143
#define JUCE_API
/**< This macro is added to all JUCE public class declarations. */
144
#endif
145
146
#if JUCE_MSVC && JUCE_DLL_BUILD
147
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) public: declaration; private:
148
#else
149
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) declaration;
150
#endif
151
152
/** This macro is added to all JUCE public function declarations. */
153
#define JUCE_PUBLIC_FUNCTION JUCE_API JUCE_CALLTYPE
154
155
#if (! defined (JUCE_CATCH_DEPRECATED_CODE_MISUSE)) && JUCE_DEBUG && ! DOXYGEN
156
/** This turns on some non-essential bits of code that should prevent old code from compiling
157
in cases where method signatures have changed, etc.
158
*/
159
#define JUCE_CATCH_DEPRECATED_CODE_MISUSE 1
160
#endif
161
162
#ifndef DOXYGEN
163
#define JUCE_NAMESPACE juce // This old macro is deprecated: you should just use the juce namespace directly.
164
#endif
165
166
/** @}*/
juce_core
system
juce_StandardHeader.h
Generated on Thu Feb 20 2020 22:57:31 for OpenShot Library | libopenshot-audio by
1.8.13