Disable cow magic in dev profile, instead of a hack in the source.

Well played cedric, making me revert your patch and thus breaking the build.
This commit is contained in:
Tom Hacohen 2013-03-19 15:45:44 +00:00
parent 60c9ba4a8f
commit d84de4adf1
2 changed files with 1 additions and 2 deletions

View File

@ -620,7 +620,7 @@ case "${build_profile}" in
want_debug_malloc="no" want_debug_malloc="no"
want_debug_threads="no" want_debug_threads="no"
want_default_mempool="no" want_default_mempool="no"
want_cow_magic="yes" want_cow_magic="no"
;; ;;
debug) debug)

View File

@ -38,7 +38,6 @@
#ifdef HAVE_BACKTRACE #ifdef HAVE_BACKTRACE
# include <execinfo.h> # include <execinfo.h>
#endif #endif
#undef EINA_COW_MAGIC_ON
#ifdef EINA_COW_MAGIC_ON #ifdef EINA_COW_MAGIC_ON
#define EINA_COW_MAGIC 0xDEADBEEF #define EINA_COW_MAGIC 0xDEADBEEF