Skip to content

Commit

Permalink
[xrandr] - handle _X_NORETURN the right way - thx for the hint @NHell…
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed Jul 11, 2012
1 parent ed1a6aa commit aca862c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion xbmc-xrandr.c
Expand Up @@ -39,10 +39,13 @@
#include <stdint.h> #include <stdint.h>
#include <math.h> #include <math.h>



#ifndef _X_NORETURN #ifndef _X_NORETURN
#if defined(__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 205)
#define _X_NORETURN __attribute((noreturn))
#else
#define _X_NORETURN #define _X_NORETURN
#endif #endif
#endif


static char *program_name; static char *program_name;
static Display *dpy; static Display *dpy;
Expand Down

0 comments on commit aca862c

Please sign in to comment.