mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Fixed sunos 5.11 support, and a header issue with the ports socketengine. Patch by Stskeeps
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7409 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a7091e0ea4
commit
3c084000e2
4
configure
vendored
4
configure
vendored
@ -487,7 +487,7 @@ $has_ports = 1 if ($system eq "SunOS");
|
||||
if ($has_ports) {
|
||||
my $kernel = `uname -r`;
|
||||
chomp($kernel);
|
||||
if (($kernel !~ /^5\.10/)) {
|
||||
if (($kernel !~ /^5\.1./)) {
|
||||
$has_ports = 0;
|
||||
}
|
||||
}
|
||||
@ -934,7 +934,7 @@ sub getosflags {
|
||||
$config{LDLIBS} .= " " . $ENV{LDLIBS} if exists($ENV{LDLIBS});
|
||||
}
|
||||
|
||||
if ($config{OSNAME} =~ /SunOS/i)
|
||||
if ($config{OSNAME} =~ /SunOS/i or $config{OSNAME} =~ /solaris/i)
|
||||
{
|
||||
# solaris/sunos needs these
|
||||
# socket = bsd sockets api
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
#include "inspircd.h"
|
||||
#include "exitcodes.h"
|
||||
#include <sys/epoll.h>
|
||||
#include <port.h>
|
||||
#include "socketengine_ports.h"
|
||||
|
||||
PortsEngine::PortsEngine(InspIRCd* Instance) : SocketEngine(Instance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user