On 7 August 2015 at 13:11, Thierry Reding <thierry.reding at gmail.com> wrote: > On Fri, Aug 07, 2015 at 10:37:56AM +0300, Tapani Pälli wrote: >> Use only __cplusplus which is supported by the C++ standard. >> >> Signed-off-by: Tapani Pälli <tapani.palli at intel.com> >> --- >> libkms/libkms.h | 4 ++-- >> xf86drm.h | 4 ++-- >> xf86drmMode.h | 4 ++-- >> 3 files changed, 6 insertions(+), 6 deletions(-) > > This looks fine to me, I can't find any mention of c_plusplus on the > internet. Let's see what Laurent says, who added this in commit: > The only reference I could find was in Oracle's documentation, which says that it was used in ancient versions of the C++ standard [1]. On the question of why I believe you've answered is perfectly - copy'n'paste FTW ;-)
Cheers, Emil [1] http://docs.oracle.com/cd/E19422-01/819-3689/Ch6.Diff.C_C++.html