[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
It seems that the 2.4 Kernel doesn't have some features, and didn't
bother to make the #defines show that they don't, so George advised me
to just define them as 0 if they aren't defined. This should fix the
2.4 kernel problem.
~ST~
--- fbcon.old.c Sat Aug 5 04:54:48 2000
+++ fbcon.c Sat Oct 14 17:53:19 2000
@@ -35,7 +35,16 @@
#include <linux/fb.h>
#include <sys/mman.h>
+/* 2.4 kernel doesn't seem to have these, so assume that they don't
+ * "have sticky," heheh. */
+#ifndef FB_VBLANK_HAVE_STICKY
+#define FB_VBLANK_HAVE_STICKY 0
+#endif
+
+#ifndef FB_VBLANK_STICKY
+#define FB_VBLANK_STICKY 0
+#endif
static BITMAP *fb_init(int w, int h, int v_w, int v_h, int color_depth);
static void fb_exit(BITMAP *b);