diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-02-05 16:23:03 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2020-02-06 10:45:11 +0800 |
commit | 5d80de7ce95a0fe152371b206c9214f51761d7e1 (patch) | |
tree | 4cf3392d09cd2ba582a003d657b601ef3aeba56a /README.MSVC.md | |
parent | 2ca6c832c805650a28bba64df633f2abba238ec0 (diff) | |
download | gjs-5d80de7ce95a0fe152371b206c9214f51761d7e1.tar.gz |
gjs/global.cpp: Fix linking on Visual Studio builds
It seems that Visual Studio does not like using external variables from a
static constexpr construct in terms of linking to a DLL, so fix this by
using a global constant that pulls in the external (constant) variable that we
are using, and use that global constant in our static constexpr construct,
which will fix linking on Visual Studio.
Diffstat (limited to 'README.MSVC.md')
0 files changed, 0 insertions, 0 deletions