1*2f974385SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*2f974385SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*2f974385SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*2f974385SAndrew Rist * distributed with this work for additional information 6*2f974385SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*2f974385SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*2f974385SAndrew Rist * "License"); you may not use this file except in compliance 9*2f974385SAndrew Rist * with the License. You may obtain a copy of the License at 10*2f974385SAndrew Rist * 11*2f974385SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*2f974385SAndrew Rist * 13*2f974385SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*2f974385SAndrew Rist * software distributed under the License is distributed on an 15*2f974385SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2f974385SAndrew Rist * KIND, either express or implied. See the License for the 17*2f974385SAndrew Rist * specific language governing permissions and limitations 18*2f974385SAndrew Rist * under the License. 19*2f974385SAndrew Rist * 20*2f974385SAndrew Rist *************************************************************/ 21*2f974385SAndrew Rist 22*2f974385SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir #ifndef _PLATFORM_XP_H_ 25cdf0e10cSrcweir #define _PLATFORM_XP_H_ 26cdf0e10cSrcweir 27cdf0e10cSrcweir #pragma once 28cdf0e10cSrcweir 29cdf0e10cSrcweir // Change these values to use different versions 30cdf0e10cSrcweir #undef WINVER 31cdf0e10cSrcweir #undef _WIN32_WINNT 32cdf0e10cSrcweir #undef _WIN32_IE 33cdf0e10cSrcweir #undef _WTL_NO_CSTRING 34cdf0e10cSrcweir 35cdf0e10cSrcweir #define WINVER 0x0500 36cdf0e10cSrcweir #define _WIN32_WINNT 0x0500 37cdf0e10cSrcweir #define _WIN32_IE 0x0600 38cdf0e10cSrcweir #define _WTL_NO_CSTRING 39cdf0e10cSrcweir 40cdf0e10cSrcweir #if defined _MSC_VER 41cdf0e10cSrcweir #pragma warning(push, 1) 42cdf0e10cSrcweir #endif 43cdf0e10cSrcweir 44cdf0e10cSrcweir #include <windows.h> 45cdf0e10cSrcweir 46cdf0e10cSrcweir #if defined _MSC_VER 47cdf0e10cSrcweir #pragma warning(pop) 48cdf0e10cSrcweir #endif 49cdf0e10cSrcweir 50cdf0e10cSrcweir #endif 51cdf0e10cSrcweir 52