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

Skip to content

Commit d9d0b5f

Browse files
committed
xstat() will never be implemented under Carbon. Fortunately it also doesn't appear to be used anywhere.
1 parent bef8f68 commit d9d0b5f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Mac/Modules/macmodule.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3131
#include <string.h>
3232
#include <errno.h>
3333

34-
#if !TARGET_API_MAC_CARBON_NOTYET
35-
/* XXXX Skip for Carbon, for now */
34+
#if !TARGET_API_MAC_CARBON
35+
/* Skip for Carbon */
3636
#include "macstat.h"
3737
#endif
3838

@@ -51,7 +51,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
5151
#include <sys/types.h>
5252
#include <sys/stat.h>
5353
#else /* USE_GUSI */
54-
#if !TARGET_API_MAC_CARBON_NOTYET
54+
#if !TARGET_API_MAC_CARBON
5555
#define stat macstat
5656
#endif
5757
#endif /* USE_GUSI */
@@ -499,7 +499,7 @@ mac_fstat(self, args)
499499
}
500500
#endif /* WEHAVE_FSTAT */
501501

502-
#if !TARGET_API_MAC_CARBON_NOTYET
502+
#if !TARGET_API_MAC_CARBON
503503
static PyObject *
504504
mac_xstat(self, args)
505505
PyObject *self;
@@ -623,7 +623,7 @@ static struct PyMethodDef mac_methods[] = {
623623
{"rename", mac_rename},
624624
{"rmdir", mac_rmdir},
625625
{"stat", mac_stat},
626-
#if !TARGET_API_MAC_CARBON_NOTYET
626+
#if !TARGET_API_MAC_CARBON
627627
{"xstat", mac_xstat},
628628
#endif
629629
{"sync", mac_sync},

0 commit comments

Comments
 (0)