Skip to content

Commit 3226dae

Browse files
committed
HACK/Base: downgrade #error to #warning
The directory iterator code path needs additional functionality implemented for Windows. It is not fully clear what piece of functionality is needed; downgrade the error to permit continuing the build.
1 parent add7467 commit 3226dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/Base.subproj/CFFileUtilities.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ CF_PRIVATE void _CFIterateDirectory(CFStringRef directoryPath, Boolean appendSla
10241024
if (!CFStringGetFileSystemRepresentation(directoryPath, directoryPathBuf, CFMaxPathSize)) return;
10251025

10261026
#if DEPLOYMENT_TARGET_WINDOWS
1027-
#error this path does not support calculateFullResultPath but it must do so someday
1027+
#warning this path does not support calculateFullResultPath but it must do so someday
10281028
CFIndex cpathLen = strlen(directoryPathBuf);
10291029
// Make sure there is room for the additional space we need in the win32 api
10301030
if (cpathLen + 2 < CFMaxPathSize) {

0 commit comments

Comments
 (0)