Commits

Iain Buclaw  committed f7abc90

Add VENDOR_VERSYM to D version identifiers if defined.

  • Participants
  • Parent commits bf9d0ac

Comments (0)

Files changed (2)

     if (strcmp(D_OS_VERSYM2, "Win32") == 0)
         is_target_win32 = true;
 #endif
+#ifdef D_VENDOR_VERSYM
+    VersionCondition::addPredefinedGlobalIdent(D_VENDOR_VERSYM);
+#endif
 
 #ifdef TARGET_THUMB
     if (TARGET_THUMB)

File d/target-ver-syms.sh

 if test -n "$d_os_versym2"; then
     echo "#define D_OS_VERSYM2 \"$d_os_versym2\""
 fi
+if test -n "$d_vendor_versym"; then
+    echo "#define D_VENDOR_VERSYM \"$d_vendor_versym\""
+fi
 
 # In DMD, this is usually defined in the target's Makefile.
 case "$d_os_versym" in