$OpenBSD$ --- build/src/sdlayer.c.orig Thu Apr 7 04:16:29 2011 +++ build/src/sdlayer.c Wed May 4 15:47:50 2011 @@ -230,7 +230,7 @@ void setvsync(int32_t sync) static void attach_debugger_here(void) {} -#ifdef __GNUC__ +#if defined __GNUC__ && defined __linux__ # define PRINTSTACKONSEGV 1 # include #endif