Skip to content

Commit

Permalink
[win32] Only include base windows types
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joshcooper authored and nobu committed Oct 26, 2022
1 parent 1dd9511 commit 1670e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 1670e96

Please sign in to comment.