Message ID | 1375616290-30024-1-git-send-email-mark.kettenis@xs4all.nl (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Aug 04, 2013 at 01:38:10PM +0200, Mark Kettenis wrote:
> From: Mark Kettenis <kettenis@openbsd.org>
I just wrote that patch as well. :(
-Chris
> Date: Sun, 4 Aug 2013 12:52:18 +0100 > From: Chris Wilson <chris@chris-wilson.co.uk> > > On Sun, Aug 04, 2013 at 01:38:10PM +0200, Mark Kettenis wrote: > > From: Mark Kettenis <kettenis@openbsd.org> > > I just wrote that patch as well. :( Must be right then! Cheers, Mark
diff --git a/src/sna/compiler.h b/src/sna/compiler.h index 2f5dfc7..28d3351 100644 --- a/src/sna/compiler.h +++ b/src/sna/compiler.h @@ -67,6 +67,8 @@ #if HAS_GCC(4, 6) && defined(__OPTIMIZE__) #define fast __attribute__((optimize("Ofast"))) +#else +#define fast #endif #if HAS_GCC(4, 6) && defined(__OPTIMIZE__)