VirtualBox

Changeset 42224 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 19, 2012 10:38:00 AM (13 years ago)
Author:
vboxsync
Message:

vboxtray: 64bit build fix

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp

    r42223 r42224  
    1515 */
    1616
    17 #include "VBoxDispIf.h"
     17#include "VBoxTray.h"
    1818
    1919#include <iprt/log.h>
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.h

    r42217 r42224  
    1616#include <iprt/cdefs.h>
    1717
    18 #include <windows.h>
    1918#ifdef VBOX_WITH_WDDM
    2019# define D3DKMDT_SPECIAL_MULTIPLATFORM_TOOL
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp

    r42217 r42224  
    1616 */
    1717#define _WIN32_WINNT 0x0500
    18 #include <windows.h>
    1918#include "VBoxTray.h"
    2019#include "VBoxHelpers.h"
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.h

    r35863 r42224  
    1919#define ___VBOXTRAY_H
    2020
     21#       define _InterlockedExchange           _InterlockedExchange_StupidDDKVsCompilerCrap
     22#       define _InterlockedExchangeAdd        _InterlockedExchangeAdd_StupidDDKVsCompilerCrap
     23#       define _InterlockedCompareExchange    _InterlockedCompareExchange_StupidDDKVsCompilerCrap
     24#       define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
     25#       define _interlockedbittestandset      _interlockedbittestandset_StupidDDKVsCompilerCrap
     26#       define _interlockedbittestandreset    _interlockedbittestandreset_StupidDDKVsCompilerCrap
     27#       define _interlockedbittestandset64    _interlockedbittestandset64_StupidDDKVsCompilerCrap
     28#       define _interlockedbittestandreset64  _interlockedbittestandreset64_StupidDDKVsCompilerCrap
     29#       pragma warning(disable : 4163)
    2130#include <windows.h>
     31#       pragma warning(default : 4163)
     32#       undef  _InterlockedExchange
     33#       undef  _InterlockedExchangeAdd
     34#       undef  _InterlockedCompareExchange
     35#       undef  _InterlockedAddLargeStatistic
     36#       undef  _interlockedbittestandset
     37#       undef  _interlockedbittestandreset
     38#       undef  _interlockedbittestandset64
     39#       undef  _interlockedbittestandreset64
     40
    2241#include <tchar.h>
    2342#include <stdio.h>
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