Work around #define ECHO in a system header file included by Python.h on Mac OS X (bug #413)
This commit is contained in:
@@ -269,6 +269,14 @@ def gen_ns3_metaheader(task):
|
||||
|
||||
header_files.sort(sort_func)
|
||||
|
||||
print >> outfile, """
|
||||
|
||||
/* http://www.nsnam.org/bugzilla/show_bug.cgi?id=413 */
|
||||
#ifdef ECHO
|
||||
# undef ECHO
|
||||
#endif
|
||||
|
||||
"""
|
||||
for header in header_files:
|
||||
print >> outfile, "#include \"ns3/%s\"" % (header,)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user