add #warning to make it more obvious what versions of functions are used

This commit is contained in:
Antonio SJ Musumeci 2020-08-18 18:40:40 -04:00
parent 2fe20b888e
commit 7fd629ebf3
9 changed files with 38 additions and 18 deletions

View file

@ -15,7 +15,9 @@
*/
#ifdef __linux__
# include "fs_sendfile_linux.icpp"
#warning "using fs_sendfile_linux.icpp"
#include "fs_sendfile_linux.icpp"
#else
# include "fs_sendfile_unsupported.icpp"
#warning "using fs_sendfile_unsupported.icpp"
#include "fs_sendfile_unsupported.icpp"
#endif