summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-12 23:37:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-12 23:37:14 (GMT)
commitd9d0b5fab12cb632e9f130b69b8439acd722a30a (patch)
treed9a739545fd678c63bf6987d0929f9908014220c /Mac/Modules
parentbef8f68d84c3a87d0b217c60139f2bc9ad423ff0 (diff)
downloadcpython-d9d0b5fab12cb632e9f130b69b8439acd722a30a.zip
cpython-d9d0b5fab12cb632e9f130b69b8439acd722a30a.tar.gz
cpython-d9d0b5fab12cb632e9f130b69b8439acd722a30a.tar.bz2
xstat() will never be implemented under Carbon. Fortunately it also doesn't appear to be used anywhere.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/macmodule.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index 9674ab7..b9a56ef 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -31,8 +31,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <string.h>
#include <errno.h>
-#if !TARGET_API_MAC_CARBON_NOTYET
-/* XXXX Skip for Carbon, for now */
+#if !TARGET_API_MAC_CARBON
+/* Skip for Carbon */
#include "macstat.h"
#endif
@@ -51,7 +51,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <sys/types.h>
#include <sys/stat.h>
#else /* USE_GUSI */
-#if !TARGET_API_MAC_CARBON_NOTYET
+#if !TARGET_API_MAC_CARBON
#define stat macstat
#endif
#endif /* USE_GUSI */
@@ -499,7 +499,7 @@ mac_fstat(self, args)
}
#endif /* WEHAVE_FSTAT */
-#if !TARGET_API_MAC_CARBON_NOTYET
+#if !TARGET_API_MAC_CARBON
static PyObject *
mac_xstat(self, args)
PyObject *self;
@@ -623,7 +623,7 @@ static struct PyMethodDef mac_methods[] = {
{"rename", mac_rename},
{"rmdir", mac_rmdir},
{"stat", mac_stat},
-#if !TARGET_API_MAC_CARBON_NOTYET
+#if !TARGET_API_MAC_CARBON
{"xstat", mac_xstat},
#endif
{"sync", mac_sync},