Skip to content

Commit

Permalink
Merge pull request #20 from codeandroid/allow-compile-with-win32-lean…
Browse files Browse the repository at this point in the history
…-and-mean

On Windows, allow compilation with WIN32_LEAN_AND_MEAN
  • Loading branch information
darrenjs authored Dec 22, 2017
2 parents 6d7ceb1 + acc39a3 commit 0a4266d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libs/wampcc/platform.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#include <sys/utsname.h>
#else
#include <Windows.h>
#ifdef WIN32_LEAN_AND_MEAN
#include <Winsock2.h> /* For gethostname */
#endif
#endif

namespace wampcc
Expand Down

0 comments on commit 0a4266d

Please sign in to comment.