darwin fis is only for osvers < 8

This commit is contained in:
Christian Hansen 2006-01-17 22:58:22 +00:00
parent 392f79ce8c
commit 5cd464b76c

View file

@ -5,6 +5,7 @@ use warnings;
our ( $SESSION, $WEBGUI_ROOT, $CONFIG_FILE, $WEBGUI_LIB );
use Config qw[];
use IO::Handle qw[];
use File::Spec qw[];
@ -50,7 +51,7 @@ BEGIN {
# http://thread.gmane.org/gmane.comp.apache.apreq/3378
# http://article.gmane.org/gmane.comp.apache.apreq/3388
unless ( $^O ne 'darwin' ) {
if ( $^O eq 'darwin' && $Config::Config{osvers} < 8 ) {
require Class::Null;
require IO::File;