diff include/SDL_platform.h @ 3366:8cd9ed45c020

Adapted from Debian patch: 215_kfreebsd_gnu.diff
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Oct 2009 09:36:12 +0000
parents 63d4517fc4ac
children d3baf5ac4e37
line wrap: on
line diff
--- a/include/SDL_platform.h	Sat Oct 10 09:22:20 2009 +0000
+++ b/include/SDL_platform.h	Sat Oct 10 09:36:12 2009 +0000
@@ -45,7 +45,7 @@
 #undef __DREAMCAST__
 #define __DREAMCAST__	1
 #endif
-#if defined(__FreeBSD__) || defined(__DragonFly__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
 #undef __FREEBSD__
 #define __FREEBSD__	1
 #endif