log4cplus 2.0.8
windowsh-inc-full.h
Go to the documentation of this file.
1// -*- C++ -*-
2// Module: Log4CPLUS
3// File: windowsh-inc.h
4// Created: 9/2018
5// Author: Vaclav Haisman
6//
7//
8// Copyright (C) 2018, Vaclav Haisman. All rights reserved.
9//
10// Redistribution and use in source and binary forms, with or without modifica-
11// tion, are permitted provided that the following conditions are met:
12//
13// 1. Redistributions of source code must retain the above copyright notice,
14// this list of conditions and the following disclaimer.
15//
16// 2. Redistributions in binary form must reproduce the above copyright notice,
17// this list of conditions and the following disclaimer in the documentation
18// and/or other materials provided with the distribution.
19//
20// THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
21// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
22// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23// APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
24// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
25// DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26// OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
27// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
31// NOTE: This file is a fragment intentionally left without include guards.
32
33#if defined (_WIN32)
34#include <winsock2.h>
35#include <ws2tcpip.h>
36#include <windows.h>
37#if defined (LOG4CPLUS_HAVE_INTRIN_H)
38#include <intrin.h>
39#endif
40#endif
41
42// NOTE: This file is a fragment intentionally left without include guards.