platform.hpp 1.32 KB
Newer Older
unknown's avatar
unknown committed
1
/*
2 3
    Copyright (c) 2007-2011 iMatix Corporation
    Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
unknown's avatar
unknown committed
4 5 6 7

    This file is part of 0MQ.

    0MQ is free software; you can redistribute it and/or modify it under
8
    the terms of the GNU Lesser General Public License as published by
unknown's avatar
unknown committed
9 10 11 12 13 14
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    0MQ is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU Lesser General Public License for more details.
unknown's avatar
unknown committed
16

17
    You should have received a copy of the GNU Lesser General Public License
unknown's avatar
unknown committed
18 19 20 21 22 23
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef __ZMQ_PLATFORM_HPP_INCLUDED__
#define __ZMQ_PLATFORM_HPP_INCLUDED__

Martin Sustrik's avatar
Martin Sustrik committed
24
//  This is the platform definition for the MSVC platform.
unknown's avatar
unknown committed
25 26 27
//  As a first step of the build process it is copied to
//  zmq directory to take place of platform.hpp generated from
//  platform.hpp.in on platforms supported by GNU autotools.
Martin Sustrik's avatar
Martin Sustrik committed
28
//  Place any MSVC-specific definitions here.
29

unknown's avatar
unknown committed
30 31
#define ZMQ_HAVE_WINDOWS

32 33 34 35 36 37 38 39
#if defined _WIN32_WINNT && _WIN32_WINNT < 0x0600
  #undef _WIN32_WINNT	
#endif

#ifndef _WIN32_WINNT 
  #define _WIN32_WINNT 0x0600
#endif

unknown's avatar
unknown committed
40
#endif