Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
xorg-x11-drv-wizardpen
x11-input-wizardpen-xf86usleep.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File x11-input-wizardpen-xf86usleep.patch of Package xorg-x11-drv-wizardpen
--- src/wizardpen.h.orig 2011-05-23 10:15:52.000000000 +0200 +++ src/wizardpen.h 2011-05-23 10:16:50.000000000 +0200 @@ -28,6 +28,10 @@ #ifndef _WIZARDPEN_H_ #define _WIZARDPEN_H_ +#if XORG_VERSION_CURRENT > (((1) * 10000000) + ((4) * 100000) + ((99) * 1000) + 2) +#include <unistd.h> +#endif + /****************************************************************************** * Definitions * structs, typedefs, #defines, enums @@ -69,7 +73,11 @@ #define NOTAVAIL ((errno == ENODEV) || (errno == ENXIO) || (errno == ENOENT)) +#if XORG_VERSION_CURRENT <= (((1) * 10000000) + ((4) * 100000) + ((99) * 1000) + 2) #define milisleep(ms) xf86usleep (ms * 1000) +#else +#define milisleep(ms) usleep (ms * 1000) +#endif #define SYSCALL(call) while(((call) == -1) && (errno == EINTR))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor