diff options
Diffstat (limited to 'xorg-server/include/misc.h')
-rw-r--r-- | xorg-server/include/misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/include/misc.h b/xorg-server/include/misc.h index 1cdb38fc4..ed8e9d0a0 100644 --- a/xorg-server/include/misc.h +++ b/xorg-server/include/misc.h @@ -100,6 +100,12 @@ typedef unsigned long ATOM; #define FALSE 0 #endif +#ifdef __GNUC__ +#define X_DEPRECATED __attribute__((deprecated)) +#else +#define X_DEPRECATED +#endif + #ifndef _XTYPEDEF_CALLBACKLISTPTR typedef struct _CallbackList *CallbackListPtr; /* also in dix.h */ #define _XTYPEDEF_CALLBACKLISTPTR |