On Sun, 28 Dec 2008 10:59:21 +0000 Ian Lee <i...@leehouse.eclipse.co.uk> babbled:
aaah more. yeah - didnt see them (they weren't causing me problems at the time) :) fixed there too. > > Modified: trunk/evas/src/lib/file/evas_module.c > > =================================================================== > > --- trunk/evas/src/lib/file/evas_module.c 2008-12-23 23:15:53 UTC > (rev > 38313) > > +++ trunk/evas/src/lib/file/evas_module.c 2008-12-23 23:54:51 UTC > (rev > 38314) > > @@ -174,7 +174,7 @@ > > em->handle = NULL; > > em->data = NULL; > > em->loaded = 0; > > -#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) > > +#if defined(BUILD_PTHREAD) && defined(BUILD_ASYNC_PRELOAD) > > pthread_spin_init(&em->lock, PTHREAD_PROCESS_PRIVATE); > > #endif > > if (em->type == EVAS_MODULE_TYPE_ENGINE) > > > Dont all the #ifdefs need to change, edje_cc hangs otherwise. > Quick patch below > > thanks > Ian > > --- /home/ian/Desktop/evas_module.c 2008-12-28 10:47:43.455093172 +0000 > +++ evas_module.c 2008-12-28 10:41:46.288093315 +0000 > @@ -309,7 +309,7 @@ > em->func.close = NULL; > em->api = NULL; > em->loaded = 0; > -#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) > +#if defined(BUILD_PTHREAD) && defined(BUILD_ASYNC_PRELOAD) > pthread_spin_destroy(&em->lock); > #endif > } > @@ -317,12 +317,12 @@ > void > evas_module_ref(Evas_Module *em) > { > -#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) > +#if defined(BUILD_PTHREAD) && defined(BUILD_ASYNC_PRELOAD) > pthread_spin_lock(&em->lock); > #endif > em->ref++; > /* printf("M: %s ref++ = %i\n", em->name, em->ref); */ > -#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) > +#if defined(BUILD_PTHREAD) && defined(BUILD_ASYNC_PRELOAD) > pthread_spin_unlock(&em->lock); > #endif > } > @@ -330,12 +330,12 @@ > void > evas_module_unref(Evas_Module *em) > { > -#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) > +#if defined(BUILD_PTHREAD) && defined(BUILD_ASYNC_PRELOAD) > pthread_spin_lock(&em->lock); > #endif > em->ref--; > /* printf("M: %s ref-- = %i\n", em->name, em->ref); */ > -#if defined(HAVE_PTHREAD_H) && defined(BUILD_ASYNC_PRELOAD) > +#if defined(BUILD_PTHREAD) && defined(BUILD_ASYNC_PRELOAD) > pthread_spin_unlock(&em->lock); > #endif > } > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel