1. Vincenzo Ampolo
  2. gdc

Commits

debio  committed 2d3d182

fix build on platforms that don't support 64 bit

  • Participants
  • Parent commits eb5244f
  • Branches default

Comments (0)

Files changed (1)

File d/d-lang.cc

View file
     if (cpu_versym)
         VersionCondition::addPredefinedGlobalIdent(cpu_versym);
 #ifdef D_OS_VERSYM
-    if (strcmp(D_OS_VERSYM, "Win64") == 0 && !TARGET_64BIT)
+    if (strcmp(D_OS_VERSYM, "Win64") == 0 && !global.params.is64bit)
         VersionCondition::addPredefinedGlobalIdent("Win32");
     else
         VersionCondition::addPredefinedGlobalIdent(D_OS_VERSYM);