VirtualBox

Ignore:
Timestamp:
Jul 28, 2014 3:03:24 PM (11 years ago)
Author:
vboxsync
Message:

Additions/x11: do not pull the whole (mini) run-time library into the X.Org drivers.

File:
1 edited

Legend:

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

    r31159 r52210  
    3535#include <iprt/mem.h>
    3636#include <iprt/string.h>
     37#if defined(VBOX_VBGLR3_XFREE86)
    3738extern "C" {
    3839# define XFree86LOADER
     
    4142# undef size_t
    4243}
     44#else
     45# include <ctype.h>
     46# include <errno.h>
     47# include <stdarg.h>
     48# include <stdio.h>
     49# include <stdlib.h>
     50# define xalloc malloc
     51# define xf86vsnprintf vsnprintf
     52# define xf86errno errno
     53# define xf86strtoul strtoul
     54# define xf86isspace isspace
     55# define xfree free
     56extern "C" void ErrorF(const char *f, ...);
     57extern "C" void VErrorF(const char *f, va_list args);
     58#endif
    4359
    4460/* This is risky as it restricts call to the ANSI format type specifiers. */
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