// This file is part of Snownews - A lightweight console RSS newsreader // // Copyright (c) 2003-2004 Oliver Feiler // Copyright (c) 2021 Mike Sharov // // Snownews is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License version 3 // as published by the Free Software Foundation. // // Snownews 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 Snownews. If not, see http://www.gnu.org/licenses/. #pragma once // Define to the one symbol short name of this package #define @pkg_uname@_NAME "@pkg_name@" // Define to the version of this package #define @pkg_uname@_VERSION "@pkg_version@" // Define to the version string of this package #define @pkg_uname@_VERSTRING "@pkg_verstr@" // Define to the address where bug reports for this package should be sent #define @pkg_uname@_BUGREPORT "@pkg_bugreport@" // Define to the value of LOCALEPATH environment variable #define LOCALEPATH "@localepath@" // Define to output of uname #undef OS // Define on SunOS and Solaris #undef SUN // Various switches for enabling definitions #ifndef _GNU_SOURCE #define _GNU_SOURCE 1 #endif // OS X needs this, otherwise socklen_t is not defined. #ifdef __APPLE__ #define _BSD_SOCKLEN_T_ #endif // BeOS does not define socklen_t. Using uint as suggested by port creator. #ifdef __BEOS__ #define socklen_t unsigned int #endif // Common header files #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef LOCALEPATH #include #define _(String) gettext (String) #else #define _(String) (String) #define ngettext(Singular, Plural, n) (Plural) #endif