Skip to content

Commit

Permalink
fix compilation issue in Mingw-w64
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Kindler committed Sep 16, 2020
1 parent 48153de commit fede8cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Mahi/Gui/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#ifdef __linux__
#include <string.h>
#else
#include <cstring>
using std::memcpy;
#endif

Expand Down
3 changes: 2 additions & 1 deletion src/Mahi/Gui/nanovg_custom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#ifdef __linux__
#include <string.h>
#else
#include <cstring>
using std::memcpy;
#endif

Expand Down Expand Up @@ -198,4 +199,4 @@ NSVGimage* nsvgParseFromString(const std::string& str, const char* units, float


} // namespace gui
} // namespace mahi
} // namespace mahi

0 comments on commit fede8cc

Please sign in to comment.