VirtualBox

Ignore:
Timestamp:
Dec 18, 2007 9:55:20 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
26841
Message:

Solaris guest timesync. Daemonize to be fixed.

Added solaris to libxml2 build-it-ourselves platform list. This could change
when Sun ships an updated libxml2. 2.6.23 is utterly un-usable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r6029 r6118  
    4747/** Shutdown the main thread. (later, for signals) */
    4848bool volatile g_fShutdown;
     49#ifndef RT_OS_OS2
     50extern int daemon(int nochdir, int noclose);
     51#endif
    4952
    5053/**
     
    273276                if (cch > sizeof("enable-") && !memcmp(psz, "enable-", sizeof("enable-") - 1))
    274277                    for (unsigned j = 0; !fFound && j < RT_ELEMENTS(g_aServices); j++)
     278#if defined(RT_OS_OS2)
    275279                        if ((fFound = !stricmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName)))
     280#else
     281                        if ((fFound = !strcasecmp(psz + sizeof("enable-") - 1, g_aServices[j].pDesc->pszName)))
     282#endif
    276283                            g_aServices[j].fEnabled = true;
    277284
    278285                if (cch > sizeof("disable-") && !memcmp(psz, "disable-", sizeof("disable-") - 1))
    279286                    for (unsigned j = 0; !fFound && j < RT_ELEMENTS(g_aServices); j++)
     287#if defined(RT_OS_OS2)
    280288                        if ((fFound = !stricmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName)))
     289#else
     290                        if ((fFound = !strcasecmp(psz + sizeof("disable-") - 1, g_aServices[j].pDesc->pszName)))
     291#endif
    281292                            g_aServices[j].fEnabled = false;
    282293
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