Remove support for old versions of timelib in dateinterval.h
commitf7ca8897a6c6617fea104253a2d6a106e6a27d3f
authorOrvid King <blah38621@gmail.com>
Wed, 14 Oct 2015 20:31:23 +0000 (14 13:31 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 14 Oct 2015 21:00:27 +0000 (14 14:00 -0700)
tree3d32b8e208b7beaa85e992388ec1e30262943b9e
parent6e228a0b01b82cb5d0f26bb99a3dbccbaa6e767f
Remove support for old versions of timelib in dateinterval.h

Summary: We already unconditionally use the timelib bundled in hhvm-third-party, and that version is new enough to have these things, so there's no need for these compatibility macros.

This also moves a couple of C++ includes that were being done inside an `extern "C"` block, which, if they hadn't already been included by something else, definitely would not have worked.
Closes https://github.com/facebook/hhvm/pull/6309

Reviewed By: @jwatzman

Differential Revision: D2485491

fb-gh-sync-id: 2817b9a12649ecf95866bd4caada0adba5c979cd
hphp/runtime/base/dateinterval.cpp
hphp/runtime/base/dateinterval.h
hphp/runtime/base/datetime.cpp
hphp/runtime/base/timezone.cpp
hphp/runtime/base/timezone.h