]> granicus.if.org Git - libevent/commitdiff
Fix a declaration of __func__ in rpcgen.
authorNick Mathewson <nickm@torproject.org>
Mon, 16 Nov 2009 22:23:06 +0000 (22:23 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 16 Nov 2009 22:23:06 +0000 (22:23 +0000)
svn:r1535

event_rpcgen.py

index 6b8f5fa95caea8861986bda9ceedc3bb2fda6ed1..7bbe31381175a15510a7ccd756ac7c0e04716310 100755 (executable)
@@ -1566,7 +1566,7 @@ class CCodeGenerator:
                  '#include <event2/buffer.h>\n'
                  '#include <event2/tag.h>\n\n'
                  '#ifdef _EVENT___func__\n'
-                 '#define __func__ _EVENT___FUNC__\n'
+                 '#define __func__ _EVENT___func__\n'
                  '#endif\n\n'
                  )