Skip to content

Commit

Permalink
Merge pull request luvit#115 from DBarney/fix/solaris-build
Browse files Browse the repository at this point in the history
add build flags for solaris
  • Loading branch information
creationix committed Feb 26, 2015
2 parents 00862eb + e074613 commit cfbfea1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/uv.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ if(WIN32)
${LIBUVDIR}/src/win/winsock.h
)
else()
add_definitions(
-D__EXTENSIONS__
-D_XOPEN_SOURCE=500
)
include_directories(${LIBUVDIR}/src/unix)
set(SOURCES ${SOURCES}
${LIBUVDIR}/include/uv-unix.h
Expand Down

0 comments on commit cfbfea1

Please sign in to comment.