Browse Source

Fix: Include platform_compat.h before winsock2.h in debug_config.h so tc_htonl/tc_htons macros are defined first

congestion
Evgeny 5 months ago
parent
commit
69b49d424b
  1. 2
      lib/debug_config.h

2
lib/debug_config.h

@ -6,6 +6,8 @@
#ifndef DEBUG_CONFIG_H
#define DEBUG_CONFIG_H
#include "platform_compat.h"
#ifdef _WIN32
#include <winsock2.h>
#include <ws2tcpip.h>

Loading…
Cancel
Save