From 368e8af92165901b8847db2c456b3930fb8e583c Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 30 Mar 2003 08:43:53 +0000 Subject: In IRIX 5.3 being too POSIXly hides the struct timespec. p4raw-id: //depot/perl@19085 --- ext/Time/HiRes/hints/irix.pl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ext/Time/HiRes/hints/irix.pl (limited to 'ext/Time') diff --git a/ext/Time/HiRes/hints/irix.pl b/ext/Time/HiRes/hints/irix.pl new file mode 100644 index 0000000000..83d98bcab6 --- /dev/null +++ b/ext/Time/HiRes/hints/irix.pl @@ -0,0 +1,6 @@ +use Config; +if ($Config{osvers} == 5) { + $self->{CCFLAGS} = $Config{ccflags}; + $self->{CCFLAGS} =~ s/-ansiposix //; + $self->{CCFLAGS} =~ s/-D_POSIX_SOURCE /-D_POSIX_4SOURCE /; +} -- cgit v1.2.1