On Sat, 11 Dec 2010, Vincent Torri wrote:

>
>
> On Sat, 11 Dec 2010, Vincent Torri wrote:
>
>> 
>> 
>> On Fri, 10 Dec 2010, Enlightenment SVN wrote:
>> 
>>> Log:
>>> revert part of commit - broke compilation. no uintptr_t in linux
>>>  yeaders by default - likely breaks even more.
>> 
>> then just include the correct header. uintptr_t is a C99 type.
>
> stdint.h I think

like that

Index: eina_magic.c
===================================================================
--- eina_magic.c        (revision 55485)
+++ eina_magic.c        (working copy)
@@ -22,6 +22,9 @@

  #include <stdlib.h>
  #include <string.h>
+#ifndef _MSC_VER
+# include <stdint.h>
+#endif

  #ifdef HAVE_EVIL
  # include <Evil.h>
@@ -320,7 +323,7 @@
          _eina_magic_strings_dirty = 0;
       }

-   ems = bsearch((void *)(long)magic, _eina_magic_strings,
+   ems = bsearch((void *)(uintptr_t)magic, _eina_magic_strings,
                   _eina_magic_strings_count, sizeof(Eina_Magic_String),
                   _eina_magic_strings_find_cmp);
     if (ems)

------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL,
new data types, scalar functions, improved concurrency, built-in packages, 
OCI, SQL*Plus, data movement tools, best practices and more.
http://p.sf.net/sfu/oracle-sfdev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to