visibility=hidden should not be used for Windows
authorLuis Lavena <luislavena@gmail.com>
Mon, 5 Dec 2011 15:08:47 +0000 (12:08 -0300)
committerLuis Lavena <luislavena@gmail.com>
Mon, 5 Dec 2011 15:08:47 +0000 (12:08 -0300)
commit47b354129a2bb4d9a882914e228aa25f33a1d0e1
tree8bb50b8ff6fb03cdcc2d13770e8eb0ee8f44f940
parent94b48447792a2908305c56db5e0f293df069e474
visibility=hidden should not be used for Windows

While GCC 4.x supports the usage of -fvisibility=hidden and the related
pragmas, usage of it under MinGW is a noop and should not be used.

Instead, __declspec(dllexport/dllimport) should be used instead to
indicate exportable functions.

Since Ninja builds a static library, no functions are exported and
visibility, at least under MinGW, is not an issue.
configure.py