VirtualBox

Changeset 5858

Show
Ignore:
Timestamp:
11/28/07 09:51:55 (1 year ago)
Author:
vboxsync
Message:

Linux additions: prevent slipping in of sscanf_isoc99_GLIBC_2.7 on glibc 2.7 systems

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/VBox/Additions/linux/xmouse/xorg14/mouse.c

    r5188 r5858  
    5959 * and to help limited dexterity persons 
    6060 */ 
     61 
     62#ifdef VBOX 
     63/* this is necessary to prevent redirecting sscanf to isoc99_sscanf which is 
     64 * glibc 2.7++ only */ 
     65#define _GNU_SOURCE 
     66#endif 
    6167 
    6268#ifdef XFree86LOADER 
  • trunk/src/VBox/Additions/linux/xmouse/xorg71/mouse.c

    r4071 r5858  
    5959 * and to help limited dexterity persons 
    6060 */ 
     61 
     62#ifdef VBOX 
     63/* this is necessary to prevent redirecting sscanf to isoc99_sscanf which is 
     64 * glibc 2.7++ only */ 
     65#define _GNU_SOURCE 
     66#endif 
    6167 
    6268#ifdef XFree86LOADER 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy