Author: sebor
Date: Tue Oct 23 17:19:41 2007
New Revision: 587711
URL: http://svn.apache.org/viewvc?rev=587711&view=rev
Log:
2007-10-23 Martin Sebor <[EMAIL PROTECTED]>
* thread.cpp [!_RWSTD_NO_PURE_C_HEADERS](popen): Declared function
for super-strict mode (e.g., EDG eccp).
Modified:
incubator/stdcxx/branches/4.2.x/tests/src/thread.cpp
Modified: incubator/stdcxx/branches/4.2.x/tests/src/thread.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/src/thread.cpp?rev=587711&r1=587710&r2=587711&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/tests/src/thread.cpp (original)
+++ incubator/stdcxx/branches/4.2.x/tests/src/thread.cpp Tue Oct 23 17:19:41
2007
@@ -40,6 +40,14 @@
# include <windows.h> // for GetSystemInfo()
#endif // _WIN32
+#ifndef _RWSTD_NO_PURE_C_HEADERS
+
+extern "C" {
+FILE* popen (const char*, const char*);
+} // extern "C"
+
+#endif // _RWSTD_NO_PURE_C_HEADERS
+
/**************************************************************************/
static long maxthreads;