Skip to content

Commit 3dc54b5

Browse files
dixyescmb69
authored andcommitted
Add arm64 support at php_get_windows_cpu
1 parent 79f1a92 commit 3dc54b5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/standard/info.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,11 @@ void php_get_windows_cpu(char *buf, int bufsize)
647647
case PROCESSOR_ARCHITECTURE_AMD64 :
648648
snprintf(buf, bufsize, "AMD64");
649649
break;
650+
#endif
651+
#if defined(PROCESSOR_ARCHITECTURE_ARM64)
652+
case PROCESSOR_ARCHITECTURE_ARM64 :
653+
snprintf(buf, bufsize, "ARM64");
654+
break;
650655
#endif
651656
case PROCESSOR_ARCHITECTURE_UNKNOWN :
652657
default:

0 commit comments

Comments
 (0)