/* * Anope IRC Services * * Copyright (C) 2003-2017 Anope Team * * This file is part of Anope. Anope 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 see . */ #pragma once #include "sysconf.h" #define BUFSIZE 1024 #include #include #include #include #include #include #ifndef _WIN32 #include #endif /* Pull in the various bits of STL */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "defs.h" #define _(x) x #ifndef _WIN32 # define DllExport # define CoreExport # define MARK_DEPRECATED __attribute((deprecated)) # define anope_close close #else # include "anope_windows.h" #endif #ifndef DEBUG_BUILD # define NDEBUG #endif #include #define anope_abstract = 0