diff include/SDL_config.h.in @ 3917:8a3a0f1179f3 SDL-1.2

Patched fbcon to compile on newer Linux kernels that don't #define PAGE_SIZE, since a memory page's size may vary on various architectures and kernel configurations. Will use getpagesize() if it exists, the PAGE_SIZE #define from older kernels if that doesn't, and #error out if that's not there either...but it's probably 4096 in that case. We may revisit this. Fixes Bugzilla #392.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 15 Feb 2007 23:50:45 +0000
parents 67d518069d9a
children 42e83d81224b b8de86ee2ad6
line wrap: on
line diff
--- a/include/SDL_config.h.in	Thu Feb 15 11:06:22 2007 +0000
+++ b/include/SDL_config.h.in	Thu Feb 15 23:50:45 2007 +0000
@@ -130,6 +130,7 @@
 #undef HAVE_NANOSLEEP
 #undef HAVE_CLOCK_GETTIME
 #undef HAVE_DLVSYM
+#undef HAVE_GETPAGESIZE
 
 #else
 /* We may need some replacement for stdarg.h here */