Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3988358

Browse files
committed
If we use frameworks we should include CoreServices/CoreServices.h, not the
old-style CoreFoundation.h.
1 parent 03b33ef commit 3988358

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Mac/Modules/cf/CFmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <CFString.h>
2525
#include <CFURL.h>
2626
#else
27-
#include <CoreFoundation.h>
27+
#include <CoreServices/CoreServices.h>
2828
#endif
2929

3030
/* For now we declare them forward here. They'll go to mactoolbox later */

Mac/Modules/cf/cfsupport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def parseArgumentList(self, args):
5050
#include <CFString.h>
5151
#include <CFURL.h>
5252
#else
53-
#include <CoreFoundation.h>
53+
#include <CoreServices/CoreServices.h>
5454
#endif
5555
5656
/* For now we declare them forward here. They'll go to mactoolbox later */

0 commit comments

Comments
 (0)