1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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 committed by Nobuyoshi Nakada
parent 1dd9511b67
commit 1670e96c0d
Notes: git 2022-10-26 01:42:24 +00:00

View file

@ -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