Commit 40756c91 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix Windows build with -DPLUGIN_PERFSCHEMA=NO

parent 316f0d8f
......@@ -405,10 +405,10 @@ to original un-instrumented file I/O APIs */
os_file_read_no_error_handling_func(file, buf, offset, n)
# define os_file_read_no_error_handling_int_fd( \
file, buf, offset, n) \
os_file_read_no_error_handling_func(file, buf, offset, n)
os_file_read_no_error_handling_func(OS_FILE_FROM_FD(file), buf, offset, n)
# define os_file_write_int_fd(name, file, buf, offset, n) \
os_file_write_func(name, file, buf, offset, n)
os_file_write_func(name, OS_FILE_FROM_FD(file), buf, offset, n)
# define os_file_write(name, file, buf, offset, n) \
os_file_write_func(name, file, buf, offset, n)
......
......@@ -469,10 +469,10 @@ to original un-instrumented file I/O APIs */
os_file_read_no_error_handling_func(file, buf, offset, n)
# define os_file_read_no_error_handling_int_fd( \
file, buf, offset, n) \
os_file_read_no_error_handling_func(file, buf, offset, n)
os_file_read_no_error_handling_func(OS_FILE_FROM_FD(file), buf, offset, n)
# define os_file_write_int_fd(name, file, buf, offset, n) \
os_file_write_func(name, file, buf, offset, n)
os_file_write_func(name, OS_FILE_FROM_FD(file), buf, offset, n)
# define os_file_write(name, file, buf, offset, n) \
os_file_write_func(name, file, buf, offset, n)
......
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