Re: [AD] 4.2.1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Elias Pschernig wrote:

Is the patch in current SVN? I made a script last time to automate the
CF tests, so could easily re-run on their BSD with it.

I'm resending the patch, it was not applied. Try it.


--
Milan Mimica
http://sparklet.sf.net
Index: src/i386/icsprite.c
===================================================================
--- src/i386/icsprite.c	(revision 7505)
+++ src/i386/icsprite.c	(working copy)
@@ -27,7 +27,17 @@
 #endif     /* ifdef ALLEGRO_WINDOWS */
 
 
+#ifdef HAVE_MPROTECT
+   #include <sys/types.h>
+   #include <sys/mman.h>
+   #include <sys/user.h>
+   #include <limits.h>  /* for PAGESIZE */
+   #ifndef PAGESIZE
+   #define PAGESIZE 4096
+   #endif
+#endif     /* ifdef HAVE_MPROTECT */
 
+
 /* compile_sprite:
  *  Helper function for making compiled sprites.
  */


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/