Allow non-gcc compilers to build xf86Xinput.c
This commit is contained in:
@@ -75,6 +75,11 @@
|
|||||||
# endif
|
# endif
|
||||||
# endif /* __inline */
|
# endif /* __inline */
|
||||||
|
|
||||||
|
/* Support gcc's __FUNCTION__ for people using other compilers */
|
||||||
|
#if !defined(__GNUC__) && !defined(__FUNCTION__)
|
||||||
|
# define __FUNCTION__ __func__ /* C99 */
|
||||||
|
#endif
|
||||||
|
|
||||||
# if defined(NO_INLINE) || defined(DO_PROTOTYPES)
|
# if defined(NO_INLINE) || defined(DO_PROTOTYPES)
|
||||||
|
|
||||||
# if !defined(__arm__)
|
# if !defined(__arm__)
|
||||||
|
|||||||
@@ -61,6 +61,7 @@
|
|||||||
#include "xf86Optrec.h"
|
#include "xf86Optrec.h"
|
||||||
#include "mipointer.h"
|
#include "mipointer.h"
|
||||||
#include "xf86InPriv.h"
|
#include "xf86InPriv.h"
|
||||||
|
#include "compiler.h"
|
||||||
|
|
||||||
#ifdef DPMSExtension
|
#ifdef DPMSExtension
|
||||||
#define DPMS_SERVER
|
#define DPMS_SERVER
|
||||||
|
|||||||
Reference in New Issue
Block a user