Skip to content

Commit

Permalink
manually define _GNU_SOURCE=1 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mman committed Mar 8, 2024
1 parent 129c271 commit 87b5005
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ if(HAS_SOCKLEN_T)
add_definitions(-DHAS_SOCKLEN_T=1)
endif()

add_definitions(-D_GNU_SOURCE=1)

include_directories(${PROJECT_SOURCE_DIR}/include)

set(INCLUDE_FILES_PREFIX include/enet)
Expand Down

0 comments on commit 87b5005

Please sign in to comment.