summaryrefslogtreecommitdiff
path: root/ext/File/Glob/Glob.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/File/Glob/Glob.xs')
-rw-r--r--ext/File/Glob/Glob.xs6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/File/Glob/Glob.xs b/ext/File/Glob/Glob.xs
index 98e366c401..1805f68a96 100644
--- a/ext/File/Glob/Glob.xs
+++ b/ext/File/Glob/Glob.xs
@@ -80,6 +80,12 @@ constant(char *name, int arg)
#endif
break;
case 'N':
+ if (strEQ(name, "GLOB_NOCASE"))
+#ifdef GLOB_NOCASE
+ return GLOB_NOCASE;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "GLOB_NOCHECK"))
#ifdef GLOB_NOCHECK
return GLOB_NOCHECK;