VirtualBox

Changeset 35658 in vbox for trunk


Ignore:
Timestamp:
Jan 20, 2011 4:00:15 PM (14 years ago)
Author:
vboxsync
Message:

build fix + missing headers

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispDbg.cpp

    r35657 r35658  
     1/** @file
     2 * VBoxVideo Display D3D User mode dll
     3 *
     4 * Copyright (C) 2011 Oracle Corporation
     5 *
     6 * This file is part of VirtualBox Open Source Edition (OSE), as
     7 * available from http://www.virtualbox.org. This file is free software;
     8 * you can redistribute it and/or modify it under the terms of the GNU
     9 * General Public License (GPL) as published by the Free Software
     10 * Foundation, in version 2 as it comes in the "COPYING" file of the
     11 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     12 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     13 */
     14/* @todo: move this to VBoxDispD3DCmn.h ? */
     15#   if (_MSC_VER >= 1400) && !defined(VBOX_WITH_PATCHED_DDK)
     16#       define _InterlockedExchange           _InterlockedExchange_StupidDDKVsCompilerCrap
     17#       define _InterlockedExchangeAdd        _InterlockedExchangeAdd_StupidDDKVsCompilerCrap
     18#       define _InterlockedCompareExchange    _InterlockedCompareExchange_StupidDDKVsCompilerCrap
     19#       define _InterlockedAddLargeStatistic  _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap
     20#       define _interlockedbittestandset      _interlockedbittestandset_StupidDDKVsCompilerCrap
     21#       define _interlockedbittestandreset    _interlockedbittestandreset_StupidDDKVsCompilerCrap
     22#       define _interlockedbittestandset64    _interlockedbittestandset64_StupidDDKVsCompilerCrap
     23#       define _interlockedbittestandreset64  _interlockedbittestandreset64_StupidDDKVsCompilerCrap
     24#       pragma warning(disable : 4163)
     25#       include <windows.h>
     26#       pragma warning(default : 4163)
     27#       undef  _InterlockedExchange
     28#       undef  _InterlockedExchangeAdd
     29#       undef  _InterlockedCompareExchange
     30#       undef  _InterlockedAddLargeStatistic
     31#       undef  _interlockedbittestandset
     32#       undef  _interlockedbittestandreset
     33#       undef  _interlockedbittestandset64
     34#       undef  _interlockedbittestandreset64
     35#   else
     36#       include <windows.h>
     37#   endif
     38
    139#include "VBoxDispD3DCmn.h"
    240
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispDbg.h

    r35650 r35658  
     1/** @file
     2 * VBoxVideo Display D3D User mode dll
     3 *
     4 * Copyright (C) 2011 Oracle Corporation
     5 *
     6 * This file is part of VirtualBox Open Source Edition (OSE), as
     7 * available from http://www.virtualbox.org. This file is free software;
     8 * you can redistribute it and/or modify it under the terms of the GNU
     9 * General Public License (GPL) as published by the Free Software
     10 * Foundation, in version 2 as it comes in the "COPYING" file of the
     11 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     12 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     13 */
     14
    115#ifndef ___VBoxDispDbg_h__
    216#define ___VBoxDispDbg_h__
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispKmt.cpp

    r35650 r35658  
     1/** @file
     2 * VBoxVideo Display D3D User mode dll
     3 *
     4 * Copyright (C) 2011 Oracle Corporation
     5 *
     6 * This file is part of VirtualBox Open Source Edition (OSE), as
     7 * available from http://www.virtualbox.org. This file is free software;
     8 * you can redistribute it and/or modify it under the terms of the GNU
     9 * General Public License (GPL) as published by the Free Software
     10 * Foundation, in version 2 as it comes in the "COPYING" file of the
     11 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     12 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     13 */
     14
    115#include "VBoxDispD3DCmn.h"
    216
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispKmt.h

    r35650 r35658  
     1/** @file
     2 * VBoxVideo Display D3D User mode dll
     3 *
     4 * Copyright (C) 2011 Oracle Corporation
     5 *
     6 * This file is part of VirtualBox Open Source Edition (OSE), as
     7 * available from http://www.virtualbox.org. This file is free software;
     8 * you can redistribute it and/or modify it under the terms of the GNU
     9 * General Public License (GPL) as published by the Free Software
     10 * Foundation, in version 2 as it comes in the "COPYING" file of the
     11 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     12 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     13 */
     14
    115#ifndef ___VBoxDispKmt_h__
    216#define ___VBoxDispKmt_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