macOS: fix building with old xcode

Makes homebrew happy
https://github.com/Homebrew/homebrew-core/pull/119329
This commit is contained in:
李通洲
2022-12-30 01:12:49 +08:00
parent 5599335965
commit 7a5d88270e
+1 -1
View File
@@ -60,7 +60,7 @@ const char* ffDetectWifi(const FFinstance* instance, FFlist* result)
case kCWPHYMode11ac:
ffStrbufAppendS(&item->conn.phyType, "802.11ac (Wi-Fi 5)");
break;
case kCWPHYMode11ax:
case 6 /*kCWPHYMode11ax*/:
ffStrbufAppendS(&item->conn.phyType, "802.11ax (Wi-Fi 6)");
break;
case 7 /*kCWPHYMode11be?*/: