forked from enlightenment/efl
eina: fix compilation of Eina_File on windows.
This commit is contained in:
parent
a07fab03e8
commit
c4beec0127
|
@ -380,7 +380,12 @@ eina_file_virtualize(const void *data, unsigned long long length, Eina_Bool copy
|
|||
file->mtime_nsec = ti;
|
||||
#endif
|
||||
file->refcount = 1;
|
||||
#ifndef _WIN32
|
||||
file->fd = -1;
|
||||
#else
|
||||
file->handle = NULL;
|
||||
file->fm = NULL;
|
||||
#endif
|
||||
file->virtual = EINA_TRUE;
|
||||
file->map = eina_hash_new(EINA_KEY_LENGTH(eina_file_map_key_length),
|
||||
EINA_KEY_CMP(eina_file_map_key_cmp),
|
||||
|
|
Loading…
Reference in New Issue