/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/Foundation/Platform/OSX/Features_Platform.h
73 строки
2 KB
Jan Krassnigg
Further refactor of platform specific code (2) (#1416)
25 окт 2024, 17:01
Не верифицирован
25 окт 2024, 17:01
b3eeda7
Код
Авторство
О чём код?
#pragma once #include <cstdio> #include <pthread.h> #include <sys/malloc.h> #include <sys/time.h> // unset common macros #undef min #undef max #define EZ_PLATFORM_NAME "OSX" #undef EZ_PLATFORM_OSX #define EZ_PLATFORM_OSX EZ_ON #undef EZ_PLATFORM_LITTLE_ENDIAN #define EZ_PLATFORM_LITTLE_ENDIAN EZ_ON #undef EZ_PLATFORM_PATH_SEPARATOR #define EZ_PLATFORM_PATH_SEPARATOR '/' /// If set to 1, the POSIX file implementation will be used. Otherwise a platform specific implementation must be available. #undef EZ_USE_POSIX_FILE_API #define EZ_USE_POSIX_FILE_API EZ_ON /// Iterating through the file system is not supported #undef EZ_SUPPORTS_FILE_ITERATORS #define EZ_SUPPORTS_FILE_ITERATORS EZ_OFF /// Getting the stats of a file (modification times etc.) is supported. #undef EZ_SUPPORTS_FILE_STATS #define EZ_SUPPORTS_FILE_STATS EZ_ON /// Directory watcher is not supported #undef EZ_SUPPORTS_DIRECTORY_WATCHER #define EZ_SUPPORTS_DIRECTORY_WATCHER EZ_OFF /// Memory mapping a file is supported. #undef EZ_SUPPORTS_MEMORY_MAPPED_FILE #define EZ_SUPPORTS_MEMORY_MAPPED_FILE EZ_ON /// Shared memory IPC is supported. #undef EZ_SUPPORTS_SHARED_MEMORY #define EZ_SUPPORTS_SHARED_MEMORY EZ_ON /// Whether dynamic plugins (through DLLs loaded/unloaded at runtime) are supported #undef EZ_SUPPORTS_DYNAMIC_PLUGINS #define EZ_SUPPORTS_DYNAMIC_PLUGINS EZ_OFF /// Whether applications can access any file (not sandboxed) #undef EZ_SUPPORTS_UNRESTRICTED_FILE_ACCESS #define EZ_SUPPORTS_UNRESTRICTED_FILE_ACCESS EZ_ON /// Whether file accesses can be done through paths that do not match exact casing #undef EZ_SUPPORTS_CASE_INSENSITIVE_PATHS #define EZ_SUPPORTS_CASE_INSENSITIVE_PATHS EZ_OFF /// Whether writing to files with very long paths is supported / implemented #undef EZ_SUPPORTS_LONG_PATHS #define EZ_SUPPORTS_LONG_PATHS EZ_ON /// Whether starting other processes is supported. #undef EZ_SUPPORTS_PROCESSES #define EZ_SUPPORTS_PROCESSES EZ_ON /// Whether inter-process communication via pipes is supported #undef EZ_SUPPORTS_IPC #define EZ_SUPPORTS_IPC EZ_OFF // SIMD support #undef EZ_SIMD_IMPLEMENTATION #define EZ_SIMD_IMPLEMENTATION EZ_SIMD_IMPLEMENTATION_FPU