summaryrefslogtreecommitdiff
path: root/zen/win.h
blob: 121e6a9c6ec6f5210d6618e98e58efdcccdf7262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// **************************************************************************
// * This file is part of the FreeFileSync project. It is distributed under *
// * GNU General Public License: http://www.gnu.org/licenses/gpl-3.0        *
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved        *
// **************************************************************************

#ifndef YAWFWH_YET_ANOTHER_WRAPPER_FOR_WINDOWS_H
#define YAWFWH_YET_ANOTHER_WRAPPER_FOR_WINDOWS_H

//------------------------------------------------------
#ifdef __WXMSW__ //we have wxWidgets
    #include <wx/msw/wrapwin.h> //includes "windows.h"
    //------------------------------------------------------
#else
    //#define WIN32_LEAN_AND_MEAN

    #ifndef NOMINMAX
        #define NOMINMAX
    #endif

    #ifndef STRICT
        #define STRICT //improve type checking
    #endif

    #include <windows.h>
#endif
//------------------------------------------------------

#endif //YAWFWH_YET_ANOTHER_WRAPPER_FOR_WINDOWS_H
bgstack15