]> granicus.if.org Git - python/commitdiff
John DuBois tells us that SCO OpenServer 5.0 and later requires _SVID3
authorGuido van Rossum <guido@python.org>
Tue, 19 Oct 1999 13:29:23 +0000 (13:29 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 19 Oct 1999 13:29:23 +0000 (13:29 +0000)
before it reveals the needed definitions in sys/statvfs.h.

Modules/posixmodule.c

index 61c9a21d41b04049734ae87c4847d779bc4f55ea..a5ec46d6579eeedc85b6df37b78395d64353deae 100644 (file)
@@ -3058,6 +3058,11 @@ posix_WSTOPSIG(self, args)
 
 
 #if defined(HAVE_FSTATVFS)
+#ifdef _SCO_DS
+/* SCO OpenServer 5.0 and later requires _SVID3 before it reveals the
+   needed definitions in sys/statvfs.h */
+#define _SVID3
+#endif
 #include <sys/statvfs.h>
 
 static char posix_fstatvfs__doc__[] =