Include cpp only when needed
authorSathya Gunasekar <sathya@fb.com>
Tue, 15 Oct 2013 02:50:20 +0000 (19:50 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 24 Oct 2013 21:53:41 +0000 (14:53 -0700)
commit3851f0ea3eea79622f1fa18888f70897d7edc4cd
tree4754e1dc6d9f9284aee91379e04f25ac3d6d045c
parent040c33870f587dfdc70f03ddc645afbfc9742264
Include cpp only when needed

Summary:
D1008921 broke compilation for tao which uses folly/Portability.h
This diff guards the change for only c++ code. Not sure if this breaks the
definition of portability.

Test Plan: Compile tao, fbconfig -r folly and fbmake runtests

Reviewed By: simpkins@fb.com

FB internal diff: D1010967

@override-unit-failures
folly/Portability.h