Skip to content

Commit

Permalink
tweak(compiler/linux): Macro re-definiton
Browse files Browse the repository at this point in the history
  • Loading branch information
tens0rfl0w committed Oct 31, 2024
1 parent d2f2ddc commit 92799a3
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion code/components/net-base/include/Net.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
#pragma once
#pragma once

#ifdef htonl
#undef htonl
#endif

#ifdef htons
#undef htons
#endif

#ifdef ntohl
#undef ntohl
#endif

#ifdef ntohs
#undef ntohs
#endif

namespace net
{
Expand Down

0 comments on commit 92799a3

Please sign in to comment.