Index: mojo/nacl/generator/libmojo.cc.tmpl |
diff --git a/mojo/nacl/generator/libmojo.cc.tmpl b/mojo/nacl/generator/libmojo.cc.tmpl |
index 7690d82e07207642037e4c558e1f3464605ff970..7a703765a2ebbd21745c7f523ef5d937dc8a5181 100644 |
--- a/mojo/nacl/generator/libmojo.cc.tmpl |
+++ b/mojo/nacl/generator/libmojo.cc.tmpl |
@@ -9,7 +9,10 @@ |
#include "native_client/src/public/imc_syscalls.h" |
#include "native_client/src/public/imc_types.h" |
-#define NACL_MOJO_DESC (NACL_CHROME_DESC_BASE + 2) |
+// The value for this FD must not conflict with uses inside Chromium. However, |
+// mojo/nacl doesn't depend on any Chromium headers, so we can't use a #define |
+// from there. |
+#define NACL_MOJO_DESC (NACL_CHROME_DESC_BASE + 3) |
static void DoMojoCall(uint32_t params[], nacl_abi_size_t num_params) { |
NaClAbiNaClImcMsgIoVec iov[1] = { |