[UE4]编译时的各个平台定义宏

来源:互联网 发布:sqlserver怎么读 编辑:程序博客网 时间:2024/06/12 00:13
在这里
\Engine\Source\Runtime\Core\Public\HAL\Platform.h

  1. // define all other platforms to be zero  
  2. //@port Define the platform here to be zero when compiling for other platforms  #if !defined(PLATFORM_WINDOWS)      #define PLATFORM_WINDOWS 0  #endif  #if !defined(PLATFORM_XBOXONE)      #define PLATFORM_XBOXONE 0  #endif  #if !defined(PLATFORM_MAC)      #define PLATFORM_MAC 0  #endif  #if !defined(PLATFORM_PS4)      #define PLATFORM_PS4 0  #endif  #if !defined(PLATFORM_IOS)      #define PLATFORM_IOS 0  #endif  #if !defined(PLATFORM_ANDROID)      #define PLATFORM_ANDROID 0  #endif  #if !defined(PLATFORM_ANDROID_ARM)      #define PLATFORM_ANDROID_ARM 0  #endif  #if !defined(PLATFORM_ANDROID_ARM64)      #define PLATFORM_ANDROID_ARM64 0  #endif  #if !defined(PLATFORM_ANDROID_X86)      #define PLATFORM_ANDROID_X86 0  #endif  #if !defined(PLATFORM_ANDROID_X64)      #define PLATFORM_ANDROID_X64 0  #endif  #if !defined(PLATFORM_ANDROIDGL4)      #define PLATFORM_ANDROIDGL4 0  #endif  #if !defined(PLATFORM_ANDROIDES31)      #define PLATFORM_ANDROIDES31 0  #endif  #if !defined(PLATFORM_WINRT)      #define PLATFORM_WINRT 0  #endif  #if !defined(PLATFORM_WINRT_ARM)      #define PLATFORM_WINRT_ARM  0  #endif  #if !defined(PLATFORM_APPLE)      #define PLATFORM_APPLE 0  #endif  #if !defined(PLATFORM_HTML5)      #define PLATFORM_HTML5 0  #endif  #if !defined(PLATFORM_LINUX)      #define PLATFORM_LINUX 0  #endif  


原创粉丝点击