summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/Fcntl/Fcntl.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/Fcntl/Fcntl.xs b/ext/Fcntl/Fcntl.xs
index 2a360951f9..308e9dda2c 100644
--- a/ext/Fcntl/Fcntl.xs
+++ b/ext/Fcntl/Fcntl.xs
@@ -51,9 +51,9 @@ int arg;
#else
goto not_there;
#endif
- if (strEQ(name, "SETFL"))
-#ifdef SETFL
- return SETFL;
+ if (strEQ(name, "F_SETFL"))
+#ifdef F_SETFL
+ return F_SETFL;
#else
goto not_there;
#endif