]> git.lyx.org Git - lyx.git/blob - boost/boost/config/platform/win32.hpp
2002-05-24 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[lyx.git] / boost / boost / config / platform / win32.hpp
1 //  (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
2 //  distribute this software is granted provided this copyright notice appears
3 //  in all copies. This software is provided "as is" without express or implied
4 //  warranty, and with no claim as to its suitability for any purpose.
5
6 //  See http://www.boost.org for most recent version.
7
8 //  Win32 specific config options:
9
10 #define BOOST_PLATFORM "Win32"
11
12 #if defined BOOST_DECL_EXPORTS
13 #  if defined BOOST_DECL_IMPORTS
14 #     error Not valid to define both BOOST_DECL_EXPORTS and BOOST_DECL_IMPORTS
15 #  endif
16 #  define BOOST_DECL __declspec(dllexport)
17 #elif defined BOOST_DECL_IMPORTS
18 #  define BOOST_DECL __declspec(dllimport)
19 #else
20 #  define BOOST_DECL
21 #endif
22
23 #if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF)
24 #  define BOOST_NO_SWPRINTF
25 #endif
26
27 #ifndef BOOST_DISABLE_WIN32
28 //
29 // Win32 will normally be using native Win32 threads,
30 // but there is a pthread library avaliable as an option:
31 //
32 #ifndef BOOST_HAS_PTHREADS
33 #  define BOOST_HAS_WINTHREADS
34 #endif
35
36 // WEK: Added
37 #define BOOST_HAS_FTIME
38
39 #endif