OpenShot Library | OpenShotAudio
0.2.2
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 7
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
#include <cstddef>
62
#include <unordered_set>
63
#include <mutex>
64
#include <condition_variable>
65
#include <queue>
66
67
//==============================================================================
68
#include "juce_CompilerSupport.h"
69
#include "juce_PlatformDefs.h"
70
71
//==============================================================================
72
// Now we'll include some common OS headers..
73
#if JUCE_MSVC
74
#pragma warning (push)
75
#pragma warning (disable: 4514 4245 4100)
76
#include <intrin.h>
77
#endif
78
79
#if JUCE_MAC || JUCE_IOS
80
#include <libkern/OSAtomic.h>
81
#include <xlocale.h>
82
#if JUCE_IOS
83
#include <signal.h>
84
#endif
85
#endif
86
87
#if JUCE_LINUX
88
#include <cstring>
89
#include <signal.h>
90
91
#if __INTEL_COMPILER
92
#if __ia64__
93
#include <ia64intrin.h>
94
#else
95
#include <ia32intrin.h>
96
#endif
97
#endif
98
#endif
99
100
#if JUCE_MSVC && JUCE_DEBUG
101
#include <crtdbg.h>
102
#endif
103
104
#if JUCE_MSVC
105
#pragma warning (pop)
106
#endif
107
108
#if JUCE_MINGW
109
#include <cstring>
110
#include <sys/types.h>
111
#endif
112
113
#if JUCE_ANDROID
114
#include <cstring>
115
#include <atomic>
116
#include <byteswap.h>
117
#endif
118
119
// undef symbols that are sometimes set by misguided 3rd-party headers..
120
#undef TYPE_BOOL
121
#undef max
122
#undef min
123
#undef major
124
#undef minor
125
#undef KeyPress
126
127
//==============================================================================
128
// DLL building settings on Windows
129
#if JUCE_MSVC
130
#ifdef JUCE_DLL_BUILD
131
#define JUCE_API __declspec (dllexport)
132
#pragma warning (disable: 4251)
133
#elif defined (JUCE_DLL)
134
#define JUCE_API __declspec (dllimport)
135
#pragma warning (disable: 4251)
136
#endif
137
#ifdef __INTEL_COMPILER
138
#pragma warning (disable: 1125) // (virtual override warning)
139
#endif
140
#elif defined (JUCE_DLL) || defined (JUCE_DLL_BUILD)
141
#define JUCE_API __attribute__ ((visibility("default")))
142
#endif
143
144
//==============================================================================
145
#ifndef JUCE_API
146
#define JUCE_API
/**< This macro is added to all JUCE public class declarations. */
147
#endif
148
149
#if JUCE_MSVC && JUCE_DLL_BUILD
150
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) public: declaration; private:
151
#else
152
#define JUCE_PUBLIC_IN_DLL_BUILD(declaration) declaration;
153
#endif
154
155
/** This macro is added to all JUCE public function declarations. */
156
#define JUCE_PUBLIC_FUNCTION JUCE_API JUCE_CALLTYPE
157
158
#if (! defined (JUCE_CATCH_DEPRECATED_CODE_MISUSE)) && JUCE_DEBUG && ! DOXYGEN
159
/** This turns on some non-essential bits of code that should prevent old code from compiling
160
in cases where method signatures have changed, etc.
161
*/
162
#define JUCE_CATCH_DEPRECATED_CODE_MISUSE 1
163
#endif
164
165
#ifndef DOXYGEN
166
#define JUCE_NAMESPACE juce // This old macro is deprecated: you should just use the juce namespace directly.
167
#endif
168
169
/** @}*/
juce_core
system
juce_StandardHeader.h
Generated on Sun Mar 6 2022 19:35:30 for OpenShot Library | OpenShotAudio by
1.8.13