projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Integrate with Sarathy. perldiag.pod required manual editing.
[p5sagit/p5-mst-13.2.git]
/
ext
/
Fcntl
/
Fcntl.xs
diff --git
a/ext/Fcntl/Fcntl.xs
b/ext/Fcntl/Fcntl.xs
index
a8e0e8a
..
2446ab7
100644
(file)
--- a/
ext/Fcntl/Fcntl.xs
+++ b/
ext/Fcntl/Fcntl.xs
@@
-108,6
+108,12
@@
constant(char *name, int arg)
#else
goto not_there;
#endif
+ if (strEQ(name, "F_SETLK"))
+#ifdef F_SETLK
+ return F_SETLK;
+#else
+ goto not_there;
+#endif
if (strEQ(name, "F_SETLK64"))
#ifdef F_SETLK64
return F_SETLK64;