VirtualBox

Changeset 46053 in vbox for trunk


Ignore:
Timestamp:
May 14, 2013 9:32:02 AM (12 years ago)
Author:
vboxsync
Message:

Added IPRT_WITH_HTTP to the IPRT build so we know when RTHttp is available.

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r46048 r46053  
    12461246 VBoxRT_DEFS                  += RT_NO_GIP
    12471247endif
     1248ifdef VBOX_WITH_LIBCURL
     1249 VBoxRT_DEFS                  += IPRT_WITH_HTTP
     1250endif
    12481251VBoxRT_DEFS.$(KBUILD_TYPE)    := $(RuntimeR3_DEFS.$(KBUILD_TYPE))
    12491252VBoxRT_SOURCES                := \
  • trunk/src/VBox/Runtime/common/dbg/dbgcfg.cpp

    r46050 r46053  
    4141#include <iprt/env.h>
    4242#include <iprt/file.h>
    43 #include <iprt/http.h>
     43#ifdef  IPRT_WITH_HTTP
     44# include <iprt/http.h>
     45#endif
    4446#include <iprt/list.h>
    4547#include <iprt/log.h>
     
    486488                                      uint32_t fFlags, PFNDBGCFGOPEN pfnCallback, void *pvUser1, void *pvUser2)
    487489{
     490#ifdef IPRT_WITH_HTTP
    488491    if (pThis->fFlags & RTDBGCFG_FLAGS_NO_SYM_SRV)
    489492        return VWRN_NOT_FOUND;
     
    550553    RTHttpDestroy(hHttp);
    551554    return rc;
     555
     556#else  /* !IPRT_WITH_HTTP */
     557    return VWRN_NOT_FOUND;
     558#endif /* !IPRT_WITH_HTTP */
    552559}
    553560
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