Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef WINVER
7 #define WINVER 0x0600
8 #endif
10 #ifndef _WIN32_WINNT
11 #define _WIN32_WINNT 0x0600
12 #endif
14 #ifndef _WIN32_WINDOWS
15 #define _WIN32_WINDOWS 0x0410
16 #endif
18 #ifndef _WIN32_IE
19 #define _WIN32_IE 0x0700
20 #endif
22 #define WIN32_LEAN_AND_MEAN
23 #include <windows.h>
25 #ifdef CITYHASH_EXPORTS
26 #define CITYHASH_API __declspec(dllexport)
27 #else
28 #define CITYHASH_API __declspec(dllimport)
29 #endif
31 #ifndef ssize_t
32 typedef int ssize_t;
33 #endif