From 63d2400a2c1cff42a8e3ea3d8b4c77b862c82bc7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 Sep 2017 00:14:37 +0200 Subject: Undo modularization hacks for VC --- libbutl/fdstream.mxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbutl/fdstream.mxx') diff --git a/libbutl/fdstream.mxx b/libbutl/fdstream.mxx index f84b88e..b2d4704 100644 --- a/libbutl/fdstream.mxx +++ b/libbutl/fdstream.mxx @@ -46,10 +46,9 @@ LIBBUTL_MODEXPORT namespace butl // struct nullfd_t {constexpr explicit nullfd_t (int) {}}; #if defined(__cpp_modules) && defined(__clang__) //@@ MOD Clang duplicate sym. - inline constexpr nullfd_t nullfd (-1); -#else - const/*expr*/ nullfd_t nullfd (-1); //@@ MOD VC multiple defs. + inline #endif + constexpr nullfd_t nullfd (-1); class LIBBUTL_SYMEXPORT auto_fd { -- cgit v1.1