Bug 1277427 - DOM: Fix consts missing for splice. r=Yoric
authorhuangwenjun <huangwenjun-hf@loongson.cn>
Thu, 02 Jun 2016 23:28:36 +0800
changeset 339216 212dd0c9cdbbeca1259be8be73a0e0947261a53c
parent 339215 84a2a85ac27edf3b5ec8291fb3ded0cb31a4c907
child 339217 1ad5e5ff1669c75e73910fbda77c9c4aae7c66c0
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
bugs1277427
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1277427 - DOM: Fix consts missing for splice. r=Yoric --- dom/system/OSFileConstants.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
dom/system/OSFileConstants.cpp
--- a/dom/system/OSFileConstants.cpp
+++ b/dom/system/OSFileConstants.cpp
@@ -510,16 +510,30 @@ static const dom::ConstantSpec gLibcProp
   INT_CONSTANT(F_SETFL),
   INT_CONSTANT(F_SETLK),
   INT_CONSTANT(F_SETLKW),
 
   // flock type values
   INT_CONSTANT(F_RDLCK),
   INT_CONSTANT(F_WRLCK),
   INT_CONSTANT(F_UNLCK),
+
+  // splice
+#if defined(SPLICE_F_MOVE)
+  INT_CONSTANT(SPLICE_F_MOVE),
+#endif // defined(SPLICE_F_MOVE)
+#if defined(SPLICE_F_NONBLOCK)
+  INT_CONSTANT(SPLICE_F_NONBLOCK),
+#endif // defined(SPLICE_F_NONBLOCK)
+#if defined(SPLICE_F_MORE)
+  INT_CONSTANT(SPLICE_F_MORE),
+#endif // defined(SPLICE_F_MORE)
+#if defined(SPLICE_F_GIFT)
+  INT_CONSTANT(SPLICE_F_GIFT),
+#endif // defined(SPLICE_F_GIFT)
 #endif // defined(XP_UNIX)
   // copyfile
 #if defined(COPYFILE_DATA)
   INT_CONSTANT(COPYFILE_DATA),
   INT_CONSTANT(COPYFILE_EXCL),
   INT_CONSTANT(COPYFILE_XATTR),
   INT_CONSTANT(COPYFILE_STAT),
   INT_CONSTANT(COPYFILE_ACL),