1/*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
6 *
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10 * Lesser General Public License for more details.
11 *
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15 */
16
17/* config.h.  Manual config for MSVC.  */
18
19#ifndef _MSC_VER
20#warn "msvc/config.h shouldn't be included for your development environment."
21#error "Please make sure the msvc/ directory is removed from your build path."
22#endif
23
24/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
25#pragma warning(disable:4200)
26/* Disable: warning C6258: Using TerminateThread does not allow proper thread clean up */
27#pragma warning(disable: 6258)
28#if defined(_PREFAST_)
29/* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
30#pragma warning(disable:28719)
31/* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
32#pragma warning(disable:28125)
33#endif
34
35/* Default visibility */
36#define DEFAULT_VISIBILITY /**/
37
38/* Enable global message logging */
39#define ENABLE_LOGGING 1
40
41/* Uncomment to start with debug message logging enabled */
42// #define ENABLE_DEBUG_LOGGING 1
43
44/* type of second poll() argument */
45#define POLL_NFDS_TYPE unsigned int
46
47/* Windows/WinCE backend */
48#if defined(_WIN32_WCE)
49#define OS_WINCE 1
50#define HAVE_MISSING_H
51#else
52#define OS_WINDOWS 1
53#define HAVE_SIGNAL_H 1
54#define HAVE_SYS_TYPES_H 1
55#endif
56