This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/mph.pl - Clean up diagnostics logic, allow DEBUG from env.
[perl5.git] / vos / vosish.h
index 838bcdf..36b3b41 100644 (file)
@@ -1,4 +1,12 @@
+#ifdef __GNUC__
 #include "../unixish.h"
+#else
+#include "unixish.h"
+#endif
 
-/* The following declaration is an avoidance for posix-950. */
-extern int ioctl (int fd, int request, ...);
+/* VOS does not support SA_SIGINFO, so undefine the macro.  This
+   is a work-around for posix-1302.  */
+#undef SA_SIGINFO
+
+/* Specify a prototype for truncate() since we are supplying one. */
+extern int truncate (const char *path, off_t len);