Commits

Anders F Björklund committed 4f01d56

don't strip underscore on macosx

  • Participants
  • Parent commits 9fc2ac8

Comments (0)

Files changed (1)

File d/dmd2/mtype.c

     len = buf.offset;
     name = (char *)alloca(19 + sizeof(len) * 3 + len + 1);
     buf.writeByte(0);
-#if TARGET_OSX
+#if TARGET_OSX && !defined(IN_GCC)
     // The LINKc will prepend the _
     sprintf(name, "D%dTypeInfo_%s6__initZ", 9 + len, buf.data);
 #else