Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix compatibility with old/broken version of dwarf.h
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 28 Mar 2014 09:50:29 +0000 (10:50 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 28 Mar 2014 09:50:29 +0000 (10:50 +0100)
src/mc/mc_dwarf.c

index 3847562..d89a571 100644 (file)
 
 #include "mc_private.h"
 
+// Define symbols not present in old version of dwarf.h.
+// Old version of dwarf.h, use DW_LANG_Objc instead of this:
+#define DW_LANG_ObjC 0x0010
+
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_dwarf, mc, "DWARF processing");
 
 /** \brief The default DW_TAG_lower_bound for a given DW_AT_language.