Skip to content

Commit

Permalink
[ci] Fix a win32 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 10, 2024
1 parent 3c643a4 commit bb34f09
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/ossia/network/context.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
#pragma once

#if defined(_WIN32)
#if !defined(WIN32_LEAN_AND_MEAN)
#define WIN32_LEAN_AND_MEAN
#endif
#if !defined(NOMINMAX)
#define NOMINMAX
#endif
#if !defined(UNICODE)
#define UNICODE 1
#endif
#if !defined(_UNICODE)
#define _UNICODE 1
#endif
// clang-format off
#include <winsock2.h>
#include <windows.h>
// clang-format on
#endif

#include <ossia/detail/logger.hpp>

#include <boost/asio/executor_work_guard.hpp>
Expand Down

0 comments on commit bb34f09

Please sign in to comment.