Include <iostream> without the .h on modern C++
authorPeter Howkins <flibble@users.sourceforge.net>
Tue, 13 Mar 2012 17:41:48 +0000 (17:41 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Tue, 13 Mar 2012 17:41:48 +0000 (17:41 +0000)
cde/programs/dtsearchpath/libCliSrv/UnixEnv.C

index 201f29567f2a3c80fe17a717e0e60a48bd574378..731fe91c8c11aac20d17f6954536bcffa1772d68 100644 (file)
 #endif
 #include <stdlib.h>
 #include <string.h>
+#if defined(linux)
+#include <iostream>
+#else
 #include <iostream.h>
+#endif
 #include <stdio.h>
 #include <unistd.h>
 #include <grp.h>