[win32] Only include base windows types

esent.h is the header for MS essential storage engine (JET) which is not
needed in ruby. basetsd.h has existed since _MSC_VER >= 1200 (VS 6.0)
and is the preferred header to use for WCHAR.
This commit is contained in:
Josh Cooper 2022-10-25 16:22:57 -07:00 коммит произвёл Nobuyoshi Nakada
Родитель 1dd9511b67
Коммит 1670e96c0d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,7 +1,7 @@
#ifndef RUBY_WIN32_DIR_H
#define RUBY_WIN32_DIR_H
#include <stdint.h> /* for uint8_t */
#include <esent.h> /* for WCHAR */
#include <basetsd.h> /* for WCHAR */
#include "ruby/encoding.h" /* for rb_encoding */
#define DT_UNKNOWN 0