+2011-12-08 Christopher Faylor Christian Franke <franke@computer.org>
+
+ * include/sys/wait.h: Ensure that C++ functions are only used when
+ using C++.
+
2011-12-08 Christopher Faylor <me.cygwin2011@cgf.cx>
* select.cc (cygwin_select): Make sure that poll is called when
#ifdef __cplusplus
+extern "C++" {
inline int __wait_status_to_int (int __status)
{ return __status; }
inline int __wait_status_to_int (const union wait & __status)
{ return __status.w_status; }
+};
/* C++ wait() variants for `union wait'. */
inline pid_t wait (union wait *__status)