Skip to content

Commit

Permalink
fix(cmake/modules): avoid macro pollution on sinsp consumers
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo authored and poiana committed Nov 3, 2023
1 parent 047bc33 commit e262d46
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmake/modules/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,8 @@ else() # MSVC
set(CMAKE_C_FLAGS_RELEASE "${FALCOSECURITY_LIBS_RELEASE_FLAGS}")
set(CMAKE_CXX_FLAGS_RELEASE "${FALCOSECURITY_LIBS_RELEASE_FLAGS}")

add_definitions(-D_HAS_STD_BYTE=0)
add_compile_definitions(
_HAS_STD_BYTE=0
WIN32_LEAN_AND_MEAN
)
endif()

0 comments on commit e262d46

Please sign in to comment.