// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the "License");5// you may not use this file except in compliance with the License.6// You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing, software11// distributed under the License is distributed on an "AS IS" BASIS,12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13// See the License for the specific language governing permissions and14// limitations under the License.1516#ifndef WEBDRIVER_SERVER_PRECOMPILE_H_17#define WEBDRIVER_SERVER_PRECOMPILE_H_1819#if defined(_WIN32) && !defined(__SYMBIAN32__) // Windows specific20#ifndef WINVER21#define WINVER 0x0501 // Minimum target of Windows XP22#endif2324#ifndef _WIN32_WINNT25#define _WIN32_WINNT 0x0501 // Minimum target of Windows XP26#endif2728#ifndef _WIN32_WINDOWS29#define _WIN32_WINDOWS 0x0501 // Minimum target of Windows XP30#endif3132#define WINDOWS33#else34// TODO(JimEvans): Add non-Windows includes here35#endif3637// A macro to disallow the copy constructor and operator= functions38// This should be used in the private: declarations for a class39#define DISALLOW_COPY_AND_ASSIGN(TypeName) \40TypeName(const TypeName&); \41void operator=(const TypeName&)4243#endif // WEBDRIVER_SERVER_PRECOMPILE_H_444546