Skip to content
Snippets Groups Projects
Commit 0dc54861 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix libeio compilation on clang

parent d24edad7
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,9 @@
* THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
#include <stdio.h>
#include <fcntl.h> /* Definition of AT_* constants */
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
......
......@@ -49,6 +49,8 @@ target_link_libraries(ev ${ev_libs})
#
# libeio library
#
set_source_files_properties(tarantool_eio.c
PROPERTIES COMPILE_FLAGS "-Wno-unused-value -Wno-dangling-else")
add_library(eio tarantool_eio.c)
#
......
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