Browse Source

[ SDL ] Fix compile error building for Windows/ARM64 on Visual Studio 2017 Win10 SDK 10.0.18362.0 which requires ar,74intr.h/arm64_neon.h header instead of armintr.h/arm_neon.h for intrinsics.

@saml
Sam Lantinga 5 năm trước cách đây
mục cha
commit
cbdee4d656
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj

+ 2 - 2
Xcode-iOS/SDL/SDL.xcodeproj/project.pbxproj

@@ -73,8 +73,8 @@
 #      define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
 #    endif
 #    if defined (_M_ARM64)
-#      include <armintr.h>
-#      include <arm_neon.h>
+#      include <arm64intr.h>
+#      include <arm64_neon.h>
 #      define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
 #    endif
 #  endif