Go to the documentation of this file.
29 #ifndef JUCE_BASICNATIVEHEADERS_H_INCLUDED
30 #define JUCE_BASICNATIVEHEADERS_H_INCLUDED
32 #include "../system/juce_TargetPlatform.h"
36 #if JUCE_MAC || JUCE_IOS
39 #import <Foundation/Foundation.h>
40 #import <UIKit/UIKit.h>
41 #import <CoreData/CoreData.h>
42 #import <MobileCoreServices/MobileCoreServices.h>
43 #include <sys/fcntl.h>
45 #define Point CarbonDummyPointName
46 #define Component CarbonDummyCompName
47 #import <Cocoa/Cocoa.h>
48 #import <CoreAudio/HostTime.h>
54 #include <sys/socket.h>
55 #include <sys/sysctl.h>
57 #include <sys/param.h>
58 #include <sys/mount.h>
59 #include <sys/utsname.h>
65 #include <net/if_dl.h>
66 #include <mach/mach_time.h>
67 #include <mach-o/dyld.h>
68 #include <objc/runtime.h>
69 #include <objc/objc.h>
70 #include <objc/message.h>
76 #error "You're compiling without RTTI enabled! This is needed for a lot of JUCE classes, please update your compiler settings!"
80 #error "You're compiling without exceptions enabled! This is needed for a lot of JUCE classes, please update your compiler settings!"
83 #pragma warning (push)
84 #pragma warning (disable : 4100 4201 4514 4312 4995)
88 #define WIN32_LEAN_AND_MEAN 1
90 #define _WIN32_WINNT 0x0501
92 #define _WIN32_WINNT 0x0600
97 #define _WIN32_IE 0x0500
101 #include <shellapi.h>
108 #include <winsock2.h>
110 #include <iphlpapi.h>
116 #include <mmsystem.h>
119 #include <basetyps.h>
128 #pragma warning (pop)
129 #pragma warning (4: 4511 4512 4100 ) // (enable some warnings that are turned off in VC8)
132 #if JUCE_MSVC && ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
133 #pragma comment (lib, "kernel32.lib")
134 #pragma comment (lib, "user32.lib")
135 #pragma comment (lib, "wininet.lib")
136 #pragma comment (lib, "advapi32.lib")
137 #pragma comment (lib, "ws2_32.lib")
138 #pragma comment (lib, "version.lib")
139 #pragma comment (lib, "shlwapi.lib")
140 #pragma comment (lib, "winmm.lib")
142 #ifdef _NATIVE_WCHAR_T_DEFINED
144 #pragma comment (lib, "comsuppwd.lib")
146 #pragma comment (lib, "comsuppw.lib")
150 #pragma comment (lib, "comsuppd.lib")
152 #pragma comment (lib, "comsupp.lib")
165 #define JUCE_LOAD_WINAPI_FUNCTION(dll, functionName, localFunctionName, returnType, params) \
166 typedef returnType (WINAPI *type##localFunctionName) params; \
167 type##localFunctionName localFunctionName = (type##localFunctionName) dll.getFunction (#functionName);
173 #include <sys/time.h>
175 #include <sys/stat.h>
177 #include <sys/ptrace.h>
179 #include <sys/wait.h>
180 #include <sys/mman.h>
187 #include <arpa/inet.h>
188 #include <netinet/in.h>
189 #include <sys/types.h>
190 #include <sys/ioctl.h>
191 #include <sys/socket.h>
193 #include <sys/sysinfo.h>
194 #include <sys/file.h>
195 #include <sys/prctl.h>
204 #include <sys/time.h>
209 #include <sys/stat.h>
210 #include <sys/statfs.h>
211 #include <sys/ptrace.h>
212 #include <sys/sysinfo.h>
213 #include <sys/mman.h>
217 #include <sys/wait.h>
226 #endif // JUCE_BASICNATIVEHEADERS_H_INCLUDED