log4cplus
1.1.0
|
00001 // -*- C++ -*- 00002 // Module: Log4CPLUS 00003 // File: windowsh-inc.h 00004 // Created: 4/2010 00005 // Author: Vaclav Zeman 00006 // 00007 // 00008 // Copyright (C) 2010-2012, Vaclav Zeman. All rights reserved. 00009 // 00010 // Redistribution and use in source and binary forms, with or without modifica- 00011 // tion, are permitted provided that the following conditions are met: 00012 // 00013 // 1. Redistributions of source code must retain the above copyright notice, 00014 // this list of conditions and the following disclaimer. 00015 // 00016 // 2. Redistributions in binary form must reproduce the above copyright notice, 00017 // this list of conditions and the following disclaimer in the documentation 00018 // and/or other materials provided with the distribution. 00019 // 00020 // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, 00021 // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 00022 // FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00023 // APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 00024 // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- 00025 // DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00026 // OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00027 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00028 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 00029 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00030 00031 // NOTE: This file is a fragment intentionally left without include guards. 00032 00033 #if defined (_WIN32) 00034 #undef WIN32_LEAN_AND_MEAN 00035 #define WIN32_LEAN_AND_MEAN 00036 00037 #undef NOGDICAPMASKS 00038 #define NOGDICAPMASKS 00039 00040 #undef NOVIRTUALKEYCODES 00041 #define NOVIRTUALKEYCODES 00042 00043 #undef NOWINMESSAGES 00044 #define NOWINMESSAGES 00045 00046 #undef NOWINSTYLES 00047 #define NOWINSTYLES 00048 00049 #undef NOSYSMETRICS 00050 #define NOSYSMETRICS 00051 00052 #undef NOMENUS 00053 #define NOMENUS 00054 00055 #undef NOICONS 00056 #define NOICONS 00057 00058 #undef NOKEYSTATES 00059 #define NOKEYSTATES 00060 00061 #undef NOSYSCOMMANDS 00062 #define NOSYSCOMMANDS 00063 00064 #undef NORASTEROPS 00065 #define NORASTEROPS 00066 00067 #undef NOSHOWWINDOW 00068 #define NOSHOWWINDOW 00069 00070 #undef NOATOM 00071 #define NOATOM 00072 00073 #undef NOCLIPBOARD 00074 #define NOCLIPBOARD 00075 00076 #undef NOCOLOR 00077 #define NOCOLOR 00078 00079 #undef NOCTLMGR 00080 #define NOCTLMGR 00081 00082 #undef NODRAWTEXT 00083 #define NODRAWTEXT 00084 00085 #undef NOGDI 00086 #define NOGDI 00087 00088 #undef NOKERNEL 00089 #define NOKERNEL 00090 00091 #undef NOUSER 00092 #define NOUSER 00093 00094 #undef NONLS 00095 #define NONLS 00096 00097 #undef NOMB 00098 #define NOMB 00099 00100 #undef NOMEMMGR 00101 #define NOMEMMGR 00102 00103 #undef NOMETAFILE 00104 #define NOMETAFILE 00105 00106 #undef NOMINMAX 00107 #define NOMINMAX 00108 00109 #undef NOMSG 00110 #define NOMSG 00111 00112 #undef NOOPENFILE 00113 #define NOOPENFILE 00114 00115 #undef NOSCROLL 00116 #define NOSCROLL 00117 00118 #undef NOSERVICE 00119 #define NOSERVICE 00120 00121 #undef NOSOUND 00122 #define NOSOUND 00123 00124 #undef NOTEXTMETRIC 00125 #define NOTEXTMETRIC 00126 00127 #undef NOWH 00128 #define NOWH 00129 00130 #undef NOWINOFFSETS 00131 #define NOWINOFFSETS 00132 00133 #undef NOCOMM 00134 #define NOCOMM 00135 00136 #undef NOKANJI 00137 #define NOKANJI 00138 00139 #undef NOHELP 00140 #define NOHELP 00141 00142 #undef NOPROFILER 00143 #define NOPROFILER 00144 00145 #undef NODEFERWINDOWPOS 00146 #define NODEFERWINDOWPOS 00147 00148 #undef NOMCX 00149 #define NOMCX 00150 00151 #include <winsock2.h> 00152 #include <ws2tcpip.h> 00153 #include <windows.h> 00154 #if defined (LOG4CPLUS_HAVE_INTRIN_H) 00155 #include <intrin.h> 00156 #endif 00157 #endif 00158 00159 // NOTE: This file is a fragment intentionally left without include guards.