Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Merge pull request #345 from nnminh171298/patch-1
Browse files Browse the repository at this point in the history
check if _MSC_VER exists for when mingw is used
  • Loading branch information
emgre committed Apr 17, 2020
2 parents 15bd56e + d9973f4 commit 23fa25f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 2.3.4 ###
### 2.x ###
* :beetle: Fix conformance issue with data-link confirmations. See PR [#359](https://github.com/dnp3/opendnp3/pull/359).
* :beetle: Fix conformance issue select & operate behaviour. See PR [#359](https://github.com/dnp3/opendnp3/pull/359).
* :beetle: Fix issue when compiling with MingW. See PR [#345](https://github.com/dnp3/opendnp3/pull/345).

### 2.3.3 ###
* :beetle: Fix C# exception on time conversion upon restart command not supported. See issue [#350](https://github.com/dnp3/opendnp3/issues/350).
Expand Down
4 changes: 2 additions & 2 deletions cpp/libs/include/asiopal/SteadyClock.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace asiopal
{

#if (defined WIN32 && (_MSC_VER < 1900)) // Windows with VS eariler than 2015, e.g. 2013
#if (defined WIN32 && defined _MSC_VER && (_MSC_VER < 1900)) // Windows with VS eariler than 2015, e.g. 2013

#include <Windows.h>

Expand Down Expand Up @@ -77,4 +77,4 @@ typedef std::chrono::steady_clock steady_clock_t;

} // namespace asiopal

#endif
#endif

0 comments on commit 23fa25f

Please sign in to comment.