other-licenses/nsis/Contrib/CityHash/CityHash.h

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial