From 22f013a06f6015ab7601329a632001770cd14941 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 7 Jul 2013 14:27:54 +0100 Subject: Use the preprocessor to check for TCP deferring support. --- make/test/so_acceptfilter.cpp | 27 --------------------------- make/test/tcp_defer_accept.cpp | 27 --------------------------- 2 files changed, 54 deletions(-) delete mode 100644 make/test/so_acceptfilter.cpp delete mode 100644 make/test/tcp_defer_accept.cpp (limited to 'make/test') diff --git a/make/test/so_acceptfilter.cpp b/make/test/so_acceptfilter.cpp deleted file mode 100644 index 0fd4cda4f..000000000 --- a/make/test/so_acceptfilter.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - * InspIRCd -- Internet Relay Chat Daemon - * - * - * This file is part of InspIRCd. InspIRCd is free software: you can - * redistribute it and/or modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation, version 2. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include - -#ifndef SO_ACCEPTFILTER - #error -#endif - -int main() -{ - return 0; -} diff --git a/make/test/tcp_defer_accept.cpp b/make/test/tcp_defer_accept.cpp deleted file mode 100644 index 191b1ac70..000000000 --- a/make/test/tcp_defer_accept.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* - * InspIRCd -- Internet Relay Chat Daemon - * - * - * This file is part of InspIRCd. InspIRCd is free software: you can - * redistribute it and/or modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation, version 2. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -#include - -#ifndef TCP_DEFER_ACCEPT - #error -#endif - -int main() -{ - return 0; -} -- cgit v1.2.3