UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MacSystemIncludes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4// Set up compiler pragmas, etc
6
7#define FVector FVectorWorkaround
8#ifdef __OBJC__
9#import <Cocoa/Cocoa.h>
10#undef PF_MAX
11#endif
12#include <Carbon/Carbon.h>
13#include <CoreServices/CoreServices.h>
14#undef check
15#undef verify
16#undef FVector
17
18#include <CoreFoundation/CoreFoundation.h>
19#undef TYPE_BOOL
20
21#include <string.h>
22#include <alloca.h>
23#include <stdlib.h>
24#include <stdio.h>
25#include <float.h>
26#include <ctype.h>
27#include <stdarg.h>
28#include <stdint.h>
29#include <limits.h>
30#include <sys/time.h>
31#include <math.h>
32#include <mach/mach_time.h>
33#include <wchar.h>
34#include <wctype.h>
35#include <errno.h>
36#include <unistd.h>
37#include <pthread.h>
38#include <libkern/OSAtomic.h>
39#include <sys/types.h>
40#include <sys/stat.h>
41#include <pwd.h>
42#include <fcntl.h>
43#include <dirent.h>
44#include <dlfcn.h>
45#include <copyfile.h>
46#include <utime.h>
47#include <mach/mach_host.h>
48#include <mach/task.h>
49#include <execinfo.h>
50#include <signal.h>
51#include <sys/sysctl.h>
52#include <malloc/malloc.h>
53
54struct tagRECT
55{
56 int32 left;
57 int32 top;
60};
61typedef struct tagRECT RECT;
62
63/*----------------------------------------------------------------------------
64Memory. On Mac OS X malloc allocates memory aligned to 16 bytes.
65----------------------------------------------------------------------------*/
66#define _aligned_malloc(Size,Align) malloc(Size)
67#define _aligned_realloc(Ptr,Size,Align) realloc(Ptr,Size)
68#define _aligned_free(Ptr) free(Ptr)
69#define _aligned_msize(Ptr,Align,Offset) malloc_size(Ptr)
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
Definition AndroidSystemIncludes.h:36
int32 top
Definition AndroidSystemIncludes.h:38
int32 left
Definition AndroidSystemIncludes.h:37
int32 right
Definition AndroidSystemIncludes.h:39
int32 bottom
Definition AndroidSystemIncludes.h:40