libupnpp  0.16.0
A C++ wrapper for the Portable UPnP reference library
conf_post.h
1 /* Copyright (C) 2006-2016 J.F.Dockes
2  *
3  * This library is free software; you can redistribute it and/or
4  * modify it under the terms of the GNU Lesser General Public
5  * License as published by the Free Software Foundation; either
6  * version 2.1 of the License, or (at your option) any later version.
7  *
8  * This library is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * Lesser General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public
14  * License along with this library; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16  * 02110-1301 USA
17  */
18 /* conf_post: manual part included by auto-generated config.h. Avoid
19  * being clobbered by autoheader, and undefine some problematic
20  * symbols.
21  */
22 
23 #ifdef _WIN32
24 #ifndef CONFIG_WINDOWS_INCLUDED
25 #error Need to copy the Windows config file. Also adjust the version in there !
26 #endif
27 #endif
28 
29 // Get rid of macro names which could conflict with other package's
30 #if defined(LIBUPNPP_NEED_PACKAGE_VERSION) && \
31  !defined(LIBUPNPP_PACKAGE_VERSION_DEFINED)
32 #define LIBUPNPP_PACKAGE_VERSION_DEFINED
33 static const char *LIBUPNPP_PACKAGE_VERSION = PACKAGE_VERSION;
34 #endif
35 #undef PACKAGE_BUGREPORT
36 #undef PACKAGE_NAME
37 #undef PACKAGE_STRING
38 #undef PACKAGE_TARNAME
39 #undef PACKAGE_URL
40 #undef PACKAGE_VERSION
41 
42 #define LIBUPNPP_SOURCE