comparison 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
comparison
equal deleted inserted replaced
3916:16f7767f9580 3917:8a3a0f1179f3
128 #undef HAVE_SIGACTION 128 #undef HAVE_SIGACTION
129 #undef HAVE_SETJMP 129 #undef HAVE_SETJMP
130 #undef HAVE_NANOSLEEP 130 #undef HAVE_NANOSLEEP
131 #undef HAVE_CLOCK_GETTIME 131 #undef HAVE_CLOCK_GETTIME
132 #undef HAVE_DLVSYM 132 #undef HAVE_DLVSYM
133 #undef HAVE_GETPAGESIZE
133 134
134 #else 135 #else
135 /* We may need some replacement for stdarg.h here */ 136 /* We may need some replacement for stdarg.h here */
136 #include <stdarg.h> 137 #include <stdarg.h>
137 #endif /* HAVE_LIBC */ 138 #endif /* HAVE_LIBC */