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

@ -17,7 +17,9 @@
*/
#ifdef __linux__
# include "fs_copy_file_range_linux.icpp"
#warning "using fs_copy_file_range_linux.icpp"
#include "fs_copy_file_range_linux.icpp"
#else
# include "fs_copy_file_range_unsupported.icpp"
#warning "using fs_copy_file_range_unsupported.icpp"
#include "fs_copy_file_range_unsupported.icpp"
#endif