view contrib/wix/defines.wxi @ 32355:4195b84940e9

bdiff: add version to help detect breaking binary changes Previously, we have no way to detect if a compiled .so file could be used or not, and blindly load it if it exists. Usually we carefully maintain compatibility of .so and fallback to pure code gracefully. But if we stick to the rules, certain nice changes will be impossible to make in a clean way. This patch adds a "version" constant to the module so we can detect inconsistency and take appropriate actions (warn, abort, fallback to pure, run make automatically) in module loader.
author Jun Wu <quark@fb.com>
date Tue, 25 Apr 2017 17:34:41 -0700
parents bd9bc4123920
children
line wrap: on
line source

<Include>

  <?if $(var.Platform) = "x64" ?>
    <?define IsX64 = yes ?>
  <?else?>
    <?define IsX64 = no ?>
  <?endif?>

</Include>