Skip to content

Commit

Permalink
Fix Cygwin failures
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Apr 7, 2024
1 parent c832f18 commit b83812a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parsers_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ void test_environment()
("bar", new untyped_value, "")
;

#if (defined(_WIN32) && ! defined(BOOST_BORLANDC) && ! defined(BOOST_EMBTC)) || (defined(__CYGWIN__))
#if defined(_WIN32) && ! defined(BOOST_BORLANDC) && ! defined(BOOST_EMBTC)
_putenv("PO_TEST_FOO=1");
#else
putenv(const_cast<char*>("PO_TEST_FOO=1"));
Expand Down

0 comments on commit b83812a

Please sign in to comment.