]> git.llucax.com Git - software/eventxx.git/commitdiff
Documentation fixes about EVENTXX_BASE_FREE_FIX.
authorLeandro Lucarella <llucax+eventxx@gmail.com>
Sat, 19 May 2007 23:58:57 +0000 (23:58 +0000)
committerLeandro Lucarella <llucax+eventxx@gmail.com>
Sat, 19 May 2007 23:58:57 +0000 (23:58 +0000)
EVENTXX_EVENT_BASE_FREE_FIX was mentioned instead of EVENTXX_BASE_FREE_FIX.

eventxx
test/Makefile

diff --git a/eventxx b/eventxx
index bbd6d4c621148538375881fe2b78e43794bd4217..580a4dfbe2d1329436dae3f70c827c2ef39ee1f6 100644 (file)
--- a/eventxx
+++ b/eventxx
  * href="http://monkeymail.org/archives/libevent-users/2006-April/000141.html">patch</a>
  * written by Mark D. Anderson, and who knows why it's not still applied). If
  * you do so, you can compile your programs with
- * @c -DEVENTXX_EVENT_BASE_FREE_FIX so @c event_base_free() gets called in the
+ * @c -DEVENTXX_BASE_FREE_FIX so @c event_base_free() gets called in the
  * eventxx::dispatcher @link eventxx::dispatcher::~dispatcher() destructor
  * @endlink.
  *
@@ -797,7 +797,7 @@ struct dispatcher
 #warning "The dispatcher class *will* leak memory because of a libevent bug, \
 see http://www.mail-archive.com/libevent-users@monkey.org/msg00110.html \
 for more info an a patch. If you already have this patch, please \
--DEVENTXX_EVENT_BASE_FREE_FIX to your compiler to make this message disappear \
+-DEVENTXX_BASE_FREE_FIX to your compiler to make this message disappear \
 and really free the dispatcher memory using event_base_free()."
 #endif
 #endif
index 2969e11b6d98e5f4aa1aae0838bbc4f2db4685c7..091143aeb5106609b6d363af276e0d56606fccf0 100644 (file)
@@ -3,7 +3,7 @@ CXXFLAGS=-I.. -g -Wall
 
 # Uncomment this if you have a fixed event_base_free().
 # See http://www.mail-archive.com/libevent-users@monkey.org/msg00112.html
-#CXXFLAGS+=-DEVENTXX_EVENT_BASE_FREE_FIX
+#CXXFLAGS+=-DEVENTXX_BASE_FREE_FIX
 
 # Don't warn me about memory leaks
 CXXFLAGS+=-DEVENTXX_NO_WARNING