From 3ccdc66717dccf726ee2819e4e21f9a4ff017411 Mon Sep 17 00:00:00 2001 From: Laurens Voerman Date: Mon, 13 May 2019 17:25:29 +0200 Subject: [PATCH] fix indentation for osgt files for windows dynamic library build. --- include/osgDB/StreamOperator | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/osgDB/StreamOperator b/include/osgDB/StreamOperator index b50ebb43a..17c3fa2e5 100644 --- a/include/osgDB/StreamOperator +++ b/include/osgDB/StreamOperator @@ -62,8 +62,9 @@ protected: // Return true if the manipulator is std::endl bool isEndl( std::ostream& (*fn)(std::ostream&) ) { -#ifdef __sun +#if defined (__sun) || (defined _WIN32 && !defined OSG_LIBRARY_STATIC) // What a mess, but solaris does not like taking the address below + // windows std::endl is a template with different adresses in different dll's std::stringstream ss; ss << fn; std::string s = ss.str();