Commit 260a1836 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Don't use poll() on Mac OS X, as it can't poll a tty properly.

parent 71148117
...@@ -209,6 +209,10 @@ include( ${CMAKE_SOURCE_DIR}/cmake/vlc_test_inline.cmake ) ...@@ -209,6 +209,10 @@ include( ${CMAKE_SOURCE_DIR}/cmake/vlc_test_inline.cmake )
if(APPLE) if(APPLE)
include( ${CMAKE_SOURCE_DIR}/cmake/vlc_find_frameworks.cmake ) include( ${CMAKE_SOURCE_DIR}/cmake/vlc_find_frameworks.cmake )
# Mac OS X (10.4 and 10.5) can't poll a tty properly
# So we deactivate its uses
set(HAVE_POLL OFF)
if(ENABLE_NO_SYMBOL_CHECK) if(ENABLE_NO_SYMBOL_CHECK)
set(DYNAMIC_LOOKUP "-undefined dynamic_lookup") set(DYNAMIC_LOOKUP "-undefined dynamic_lookup")
else(ENABLE_NO_SYMBOL_CHECK) else(ENABLE_NO_SYMBOL_CHECK)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment