Fix open source builds after sqlite work
commit865a0b4364c82725eaf27f97bdf4d279b1779109
authorGabe Levi <gabe@fb.com>
Tue, 1 Nov 2016 22:03:32 +0000 (1 15:03 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Tue, 1 Nov 2016 22:27:12 +0000 (1 15:27 -0700)
tree0c0c87e5db244d5645fec032eb8711bde97303e5
parentccb36933b3184f275b16e75db1e089a137d704fc
Fix open source builds after sqlite work

Summary:
`CAMLparam0()` declares `caml__frame`, so if you forget it, you get errors like

```
hh_shared.c:2130:3: error: use of undeclared identifier 'caml__frame'; did you mean 'caml_raise'?
  CAMLreturn(Val_long(0));
  ^
/Users/glevi/.opam/4.02.1/lib/ocaml/caml/memory.h:231:28: note: expanded from macro 'CAMLreturn'
                           ^
/Users/glevi/.opam/4.02.1/lib/ocaml/caml/memory.h:227:22: note: expanded from macro 'CAMLreturnT'
  caml_local_roots = caml__frame; \
```

And for ocp-build, we just need to set the `NO_SQLITE3` flag
Closes https://github.com/facebook/flow/pull/2733

Reviewed By: oulgen

Differential Revision: D4113588

Pulled By: gabelevi

fbshipit-source-id: c5f3e010bdc9c93f67469c0753c4986e931f5fff
hphp/hack/src/heap/hh_shared.c