/*
* Hide GCC attributes from compilers that don't support them.
*/
-#if !defined(__GNUC__) || __GNUC__ < 2 || \
- (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || \
- defined(NEXT)
+#if (!defined(__GNUC__) || __GNUC__ < 2 || \
+ (__GNUC__ == 2 && __GNUC_MINOR__ < 7) || \
+ defined(NEXT) ) && \
+ !defined(RISCOS)
#define __attribute__(__x)
#endif
ZLIB = $(LIBSROOT).zlib
EXPAT = $(LIBSROOT).expat.lib
-OBJSCAN = $(DLKLIB).objscan
-MAKEDLK = $(DLKLIB).makedlk
+OBJSCAN = objscan
+MAKEDLK = makedlk
# change from time to time (don't forget to change !Boot also)
TARGET=Python22
-BUILD=23
+BUILD=25
#
@.^.Objects.o.abstract\
@.^.Objects.o.unicodectype\
@.^.Objects.o.unicodeobject\
- @.^.Objects.o.descrobject
+ @.^.Objects.o.descrobject\
+ @.^.Objects.o.weakrefobject\
+ @.^.Objects.o.structseq
OBJECTS_PARSER =\
-wipe @.^.Lib.*/pyd ~C ~V
-wipe @.^.Lib.plat-riscos.*/pyd ~C~V
remove s.linktab
+ remove @.^.LibPython
clean-support:
-wipe @.^.!* ~C~V
#include "unixstuff.h"
#include "Python.h"
+#include "structseq.h"
#include <errno.h>
{ "st_ctime", "time of last change" },
{ "st_ftype", "file type" },
{ "st_attrs", "attributes" },
- { "st_obtype", "object type" }
+ { "st_obtype", "object type" },
{ 0 }
};
PyStructSequence_SET_ITEM(v, 11,
PyInt_FromLong((long) at)); /*attributes*/
PyStructSequence_SET_ITEM(v, 12,
- PyInt_FromLong((long) ot)); /*object type*/
+ PyInt_FromLong((long) ob)); /*object type*/
if (PyErr_Occurred()) {
Py_DECREF(v);