diff options
author | Josh Cooper <[email protected]> | 2022-10-25 16:22:57 -0700 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-10-26 10:42:03 +0900 |
commit | 1670e96c0ddf9e17e94e25517fb424f3a8e20e33 (patch) | |
tree | b351a655f55390b6eb3a59b0c43c4125572fd8ea /win32 | |
parent | 1dd9511b6723b2781e65e2b4093a714576802302 (diff) |
[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.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6632
Diffstat (limited to 'win32')
-rw-r--r-- | win32/dir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/dir.h b/win32/dir.h index de12f79158..0292c27c9c 100644 --- a/win32/dir.h +++ b/win32/dir.h @@ -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 |