Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore Modified Files: Ecore_Data.h Log Message: sgi build patches =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore_Data.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- Ecore_Data.h 26 Mar 2005 23:40:30 -0000 1.13 +++ Ecore_Data.h 2 Apr 2005 15:59:55 -0000 1.14 @@ -9,6 +9,13 @@ # ifdef __cplusplus extern "C" { # endif + +#ifdef __sgi +#define __FUNCTION__ "unknown" +#ifndef __cplusplus +#define inline +#endif +#endif # define PRIME_TABLE_MAX 21 # define PRIME_MIN 17 @@ -102,7 +109,7 @@ # else /* No pthreads available */ -# define ECORE_DECLARE_LOCKS struct { } locks +# define ECORE_DECLARE_LOCKS # define ECORE_INIT_LOCKS(structure) # define ECORE_READ_LOCK(structure) # define ECORE_READ_UNLOCK(structure) @@ -325,10 +332,17 @@ * of the message and checks that it is to be printed at the current debugging * level */ # ifndef DPRINTF -# define DPRINTF(debug, format, args...) \ +# ifdef __sgi +# define DPRINTF(debug, format, args) \ if (debug >= DEBUG_LEVEL) \ fprintf(stderr, format, args); +# else +# define DPRINTF(debug, format, args...) \ + if (debug >= DEBUG_LEVEL) \ + fprintf(stderr, format, args); +# endif # endif + /* convenience macros for checking pointer parameters for non-NULL */ # ifndef CHECK_PARAM_POINTER_RETURN ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs