Author: faridz
Date: Tue Oct 30 07:43:12 2007
New Revision: 590090
URL: http://svn.apache.org/viewvc?rev=590090&view=rev
Log:
2007-10-30 Farid Zaripov <[EMAIL PROTECTED]>
Merged r587711 from branches/4.2.x
* thread.cpp [!_RWSTD_NO_PURE_C_HEADERS](popen): Declared function
for super-strict mode (e.g., EDG eccp).
Modified:
incubator/stdcxx/trunk/tests/src/thread.cpp
Modified: incubator/stdcxx/trunk/tests/src/thread.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/src/thread.cpp?rev=590090&r1=590089&r2=590090&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/src/thread.cpp (original)
+++ incubator/stdcxx/trunk/tests/src/thread.cpp Tue Oct 30 07:43:12 2007
@@ -22,7 +22,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*
- * Copyright 2005-2006 Rogue Wave Software.
+ * Copyright 2005-2007 Rogue Wave Software, Inc.
*
**************************************************************************/
@@ -39,6 +39,14 @@
#else
# 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
/**************************************************************************/