mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
[t:2624] fix windows compile of r20449 (off_t->toku_off_t)
git-svn-id: file:///svn/toku/tokudb@20522 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
39670ab94b
commit
4d0f2e5773
1 changed files with 10 additions and 10 deletions
|
@ -112,14 +112,14 @@ done:
|
|||
}
|
||||
|
||||
|
||||
static ssize_t (*t_write)(int, const void *, size_t) = 0;
|
||||
static ssize_t (*t_full_write)(int, const void *, size_t) = 0;
|
||||
static ssize_t (*t_pwrite)(int, const void *, size_t, off_t) = 0;
|
||||
static ssize_t (*t_full_pwrite)(int, const void *, size_t, off_t) = 0;
|
||||
static FILE * (*t_fdopen)(int, const char *) = 0;
|
||||
static FILE * (*t_fopen)(const char *, const char *) = 0;
|
||||
static int (*t_open)(const char *, int, int) = 0; // no implementation of variadic form until needed
|
||||
static int (*t_fclose)(FILE *) = 0;
|
||||
static ssize_t (*t_write)(int, const void *, size_t) = NULL;
|
||||
static ssize_t (*t_full_write)(int, const void *, size_t) = NULL;
|
||||
static ssize_t (*t_pwrite)(int, const void *, size_t, toku_off_t) = NULL;
|
||||
static ssize_t (*t_full_pwrite)(int, const void *, size_t, toku_off_t) = NULL;
|
||||
static FILE * (*t_fdopen)(int, const char *) = NULL;
|
||||
static FILE * (*t_fopen)(const char *, const char *) = NULL;
|
||||
static int (*t_open)(const char *, int, int) = NULL; // no implementation of variadic form until needed
|
||||
static int (*t_fclose)(FILE *) = NULL;
|
||||
|
||||
int
|
||||
toku_set_func_write (ssize_t (*write_fun)(int, const void *, size_t)) {
|
||||
|
@ -134,13 +134,13 @@ toku_set_func_full_write (ssize_t (*write_fun)(int, const void *, size_t)) {
|
|||
}
|
||||
|
||||
int
|
||||
toku_set_func_pwrite (ssize_t (*pwrite_fun)(int, const void *, size_t, off_t)) {
|
||||
toku_set_func_pwrite (ssize_t (*pwrite_fun)(int, const void *, size_t, toku_off_t)) {
|
||||
t_pwrite = pwrite_fun;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
toku_set_func_full_pwrite (ssize_t (*pwrite_fun)(int, const void *, size_t, off_t)) {
|
||||
toku_set_func_full_pwrite (ssize_t (*pwrite_fun)(int, const void *, size_t, toku_off_t)) {
|
||||
t_full_pwrite = pwrite_fun;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue