Skip to content

Commit

Permalink
Fix Windows build with -DPLUGIN_PERFSCHEMA=NO
Browse files Browse the repository at this point in the history
  • Loading branch information
vaintroub committed Nov 24, 2017
1 parent 316f0d8 commit 40756c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/include/os0file.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions storage/xtradb/include/os0file.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 40756c9

Please sign in to comment.