Bug 1269501: Follow-up: Fix build error on Android. r=bustage
☠☠ backed out by 199230f44725 ☠ ☠
authorKris Maglione <maglione.k@gmail.com>
Fri, 27 May 2016 12:43:39 -0700
changeset 340322 167e407cb1fcbb08f4f44d40acb2b8bc5f8de382
parent 340321 6438b11898cf5775f446ac0ddcf13f9e8506b26a
child 340323 3e1d7c5d1a58cb1763a2a78de02f96c6bcd2f06d
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1269501
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 1269501: Follow-up: Fix build error on Android. r=bustage MozReview-Commit-ID: EmB0vjvLPzu
dom/system/OSFileConstants.cpp
--- a/dom/system/OSFileConstants.cpp
+++ b/dom/system/OSFileConstants.cpp
@@ -495,17 +495,19 @@ static const dom::ConstantSpec gLibcProp
   // poll
   INT_CONSTANT(POLLERR),
   INT_CONSTANT(POLLHUP),
   INT_CONSTANT(POLLIN),
   INT_CONSTANT(POLLNVAL),
   INT_CONSTANT(POLLOUT),
 
   // wait
+#if defined(WNOHANG)
   INT_CONSTANT(WNOHANG),
+#endif // defined(WNOHANG)
 
   // fcntl command values
   INT_CONSTANT(F_GETLK),
   INT_CONSTANT(F_SETFD),
   INT_CONSTANT(F_SETFL),
   INT_CONSTANT(F_SETLK),
   INT_CONSTANT(F_SETLKW),