VirtualBox

Changeset 63032 in vbox for trunk/include


Ignore:
Timestamp:
Aug 5, 2016 11:19:23 AM (8 years ago)
Author:
vboxsync
Message:

windef.h wrapper

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/win/windef.h

    r63022 r63032  
    11/** @file
    2  * Safe way to include Windows.h.
     2 * Safe way to include windef.h.
    33 */
    44
     
    2525
    2626
    27 #ifndef ___iprt_win_windows_h___
    28 #define ___iprt_win_windows_h___
     27#ifndef ___iprt_win_windef_h___
     28#define ___iprt_win_windef_h___
    2929
    3030#ifdef _MSC_VER
    3131/*
    32  * Unfortunately, the Windows.h file in SDK 7.1 is not clean wrt warning C4668:
    33  *      wincrypt.h(1848) : warning C4668: 'NTDDI_WINLH' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
     32 * Unfortunately, the windef.h file in SDK 7.1 is not clean wrt warning C4668:
     33 *  basetsd.h(114) : warning C4668: '__midl' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
     34 *  winnt.h(13017) : warning C4668: '_DBG_MEMCPY_INLINE_' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
    3435 */
    3536# pragma warning(push)
    3637# pragma warning(disable:4668)
    37 # ifndef __cplusplus
    38 #  pragma warning(disable:4255) /* warning C4255: 'FARPROC' : no function prototype given: converting '()' to '(void)' */
    39 # endif
    4038#endif
    4139
    42 #include <Windows.h>
     40#include <windef.h>
    4341
    4442#ifdef _MSC_VER
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette