VirtualBox

Changeset 40430 in vbox


Ignore:
Timestamp:
Mar 12, 2012 2:39:27 PM (13 years ago)
Author:
vboxsync
Message:

Additions/common/VBoxGuest: disable Solaris test case on Windows hosts as VCC7 does not have variadic macros.

Location:
trunk/src/VBox/Additions/common/VBoxGuest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk

    r40311 r40430  
    209209
    210210if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    211  PROGRAMS += tstVBoxGuest-solaris
    212  tstVBoxGuest-solaris_TEMPLATE = VBOXR3TSTEXE
    213  tstVBoxGuest-solaris_SOURCES  = \
    214         VBoxGuest-solaris-streams.c \
    215         testcase/tstVBoxGuest-solaris.cpp
    216  tstVBoxGuest-solaris_DEFS     = TESTCASE
    217  tstVBoxGuest-solaris_LIBS     = $(LIB_RUNTIME)
     211 ifneq ($(KBUILD_TARGET),win)  # No variadic macros in Visual C++ 2002
     212  PROGRAMS += tstVBoxGuest-solaris
     213 endif
    218214endif
     215tstVBoxGuest-solaris_TEMPLATE = VBOXR3TSTEXE
     216tstVBoxGuest-solaris_SOURCES  = \
     217    VBoxGuest-solaris-streams.c \
     218    testcase/tstVBoxGuest-solaris.cpp
     219tstVBoxGuest-solaris_DEFS     = TESTCASE
     220tstVBoxGuest-solaris_LIBS     = $(LIB_RUNTIME)
    219221
    220222include $(KBUILD_PATH)/subfooter.kmk
  • trunk/src/VBox/Additions/common/VBoxGuest/testcase/solaris.h

    r40368 r40430  
    2121#include <iprt/assert.h>
    2222#include <iprt/string.h>  /* RT_ZERO */
     23#ifdef RT_OS_WINDOWS
     24# include <WinSock2.h>  /* struct timeval */
     25#endif
    2326#include <errno.h>
    2427#include <time.h>  /* struct timeval */
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