Be explicit about what we're passing to Endian::big
authorJoel Marcey <joelm@fb.com>
Fri, 27 Jun 2014 21:47:54 +0000 (14:47 -0700)
committerNicholas Ormrod <njormrod@fb.com>
Fri, 27 Jun 2014 22:08:24 +0000 (15:08 -0700)
commit09a81a96ea2f9790242675f3c84013266c38d684
tree67c4ac64e952d8e4982a5c906d5e17de0e1e3f99
parent75f93a6620f11ebbb5453dea49a8bf201e25b390
Be explicit about what we're passing to Endian::big

Summary:
This prevents a linker error on OSX:
```
Undefined symbols for architecture x86_64:
"folly::detail::EndianIntBase::swap(unsigned long)",
referenced from:
__GLOBAL__sub_I_MacAddress.cpp in libfolly.a(MacAddress.cpp.o)
ld: symbol(s) not found for architecture x86_64
```

We need folly and third-party changes in order to land a pull request for HHVM
that starts to get FastCGI running on OSX.

See the checklist of the HHVM pull request here: https://github.com/facebook/hhvm/pull/2944#issuecomment-47281003

Closes #68

GitHub Author: Daniel Sloof <goapsychadelic@gmail.com>

@override-unit-failures

Test Plan: fbmake runtests 100%

Reviewed By: pt@fb.com, njormrod@fb.com

FB internal diff: D1407426
folly/MacAddress.cpp