summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2021-04-29 14:31:05 +0200
committerBenoit Daloze <eregontp@gmail.com>2021-05-04 14:56:55 +0200
commit68d6bd0873557c12bec6f8e0f8db622f1499d8a7 (patch)
treedd50dae6ebbf714d19e3db7272f0d9b6af86223e /dir.c
parent229cbeba8c928dc6ee5eb21951e00c43a6e5225c (diff)
downloadruby-68d6bd0873557c12bec6f8e0f8db622f1499d8a7.tar.gz
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 8ff812e8e7..fb31bd4f22 100644
--- a/dir.c
+++ b/dir.c
@@ -216,7 +216,7 @@ typedef enum {
#else
#define FNM_SYSCASE 0
#endif
-#if _WIN32
+#ifdef _WIN32
#define FNM_SHORTNAME 0x20
#else
#define FNM_SHORTNAME 0