2011-04-24 12:21:03 +02:00
|
|
|
/*-
|
|
|
|
* Copyright (C) 2011 Glenn Ergeerts.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU Lesser General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* 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 Lesser General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_WINDOWS_H__
|
|
|
|
#define __CONFIG_WINDOWS_H__
|
|
|
|
|
2011-06-27 20:34:07 +02:00
|
|
|
#cmakedefine WITH_DEBUG
|
|
|
|
|
2011-04-24 12:21:03 +02:00
|
|
|
#include <winsock2.h>
|
|
|
|
|
|
|
|
#define htole32(x) (x)
|
|
|
|
#define le32toh(x) (x)
|
|
|
|
#define le16toh(x) (x)
|
|
|
|
#define htobe16(x) htons(x)
|
|
|
|
#define be16toh(x) ntohs(x)
|
|
|
|
|
|
|
|
#define ENOTSUP WSAEOPNOTSUPP
|
|
|
|
|
2019-01-26 02:20:54 +01:00
|
|
|
#cmakedefine PACKAGE_NAME "@PACKAGE_NAME@"
|
|
|
|
#cmakedefine PACKAGE_VERSION "@PACKAGE_VERSION@"
|
|
|
|
#cmakedefine PACKAGE_STRING "@PACKAGE_STRING@"
|
|
|
|
#cmakedefine _XOPEN_SOURCE @_XOPEN_SOURCE@
|
|
|
|
#cmakedefine SYSCONFDIR "@SYSCONFDIR@"
|
|
|
|
|
2011-04-24 12:21:03 +02:00
|
|
|
#endif /* !__CONFIG_WINDOWS_H__ */
|