Skip to content
Snippets Groups Projects
Commit e4ac7c2b authored by Brad King's avatar Brad King
Browse files

libuv: Compile as C 90 on Solaris 10

parent c9b3c562
No related branches found
No related tags found
No related merge requests found
......@@ -224,6 +224,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
list(APPEND uv_defines
_XOPEN_SOURCE=500
)
if(CMAKE_C_STANDARD)
set(CMAKE_C_STANDARD 90)
endif()
else()
list(APPEND uv_defines
_XOPEN_SOURCE=600
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment