VirtualBox

Changeset 31508 in vbox


Ignore:
Timestamp:
Aug 10, 2010 8:31:48 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64597
Message:

Windows build fix

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cdefs.h

    r28800 r31508  
    394394 */
    395395#ifdef IN_VBOXDDU
    396 # define VBOXDDU_DECL(type) DECLEXPORT(type) VBOXCALL
     396# ifdef IN_VBOXDDU_STATIC
     397#  define VBOXDDU_DECL(type) type
     398# else
     399#  define VBOXDDU_DECL(type) DECLEXPORT(type) VBOXCALL
     400# endif
    397401#else
    398402# define VBOXDDU_DECL(type) DECLIMPORT(type) VBOXCALL
  • trunk/src/VBox/Devices/Storage/testcase/Makefile.kmk

    r31506 r31508  
    5050ifdef VBOX_WITH_TESTCASES
    5151 PROGRAMS += tstVD tstVD-2 tstVDCopy tstVDSnap tstVDShareable tstVDSetUuid
    52  if1of ($(KBUILD_TARGET), darwin freebsd linux solaris)
     52 if1of ($(KBUILD_TARGET), darwin freebsd linux win solaris)
    5353  PROGRAMS += VBoxFixHdd
    5454 endif
     
    8383 else ifeq ($(KBUILD_TARGET),darwin)
    8484  VBoxFixHdd_LIBS += iconv
     85 else ifeq ($(KBUILD_TARGET),win)
     86  VBoxFixHdd_SDKS.win = VBOX_NTDLL VBOX_ZLIB WINPSDK $(VBOX_WINDDK)
    8587 endif
    8688 tstVD_SOURCES  = tstVD.cpp
     
    102104 VBoxFixHdd_DEFS += VBOX_WITH_NEW_IO_CODE
    103105 endif
    104  VBoxFixHdd_DEFS += VBOX_HDD_NO_DYNAMIC_BACKENDS
     106 VBoxFixHdd_DEFS += VBOX_HDD_NO_DYNAMIC_BACKENDS IN_VBOXDDU IN_VBOXDDU_STATIC IN_RT_R3
    105107endif
    106108
  • trunk/src/VBox/Devices/Storage/testcase/tstVDSetUuidStubs.cpp

    r31504 r31508  
    1818#include <iprt/assert.h>
    1919
     20#ifndef RT_OS_WINDOWS
    2021RTDECL(bool) RTAssertShouldPanic(void)
    2122{
    2223    return true;
    2324}
     25#endif
Note: See TracChangeset for help on using the changeset viewer.

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