stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r629685 - /stdcxx/trunk/util/path.cpp
Date Thu, 21 Feb 2008 03:54:56 GMT
Author: faridz
Date: Wed Feb 20 19:54:52 2008
New Revision: 629685

URL: http://svn.apache.org/viewvc?rev=629685&view=rev
Log:
2008-02-21  Farid Zaripov  <farid_zaripov@epam.com>

	* util/path.cpp: Moved including of the system header files
	on top of the file, to get _XOPEN_SOURCE and _XOPEN_SOURCE_EXTENDED
	macros defined for all included headers.

Modified:
    stdcxx/trunk/util/path.cpp

Modified: stdcxx/trunk/util/path.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/util/path.cpp?rev=629685&r1=629684&r2=629685&view=diff
==============================================================================
--- stdcxx/trunk/util/path.cpp (original)
+++ stdcxx/trunk/util/path.cpp Wed Feb 20 19:54:52 2008
@@ -26,17 +26,6 @@
  * 
  **************************************************************************/
 
-#include "path.h"
-
-#include "diagnostic.h"   // for issue_diag()
-
-#include <cassert>        // for assert()
-#include <cerrno>         // for ERANGE
-#include <cstdlib>        // for getenv()
-#include <cstring>        // for strerror()
-#include <string>         // for string
-
-
 #ifndef _MSC_VER
 #  ifdef __linux__
      // for symlink()
@@ -57,6 +46,17 @@
 #  include <sys/types.h>
 #  include <sys/stat.h>    // for struct stat, stat()
 #endif  // _MSC_VER
+
+
+#include "path.h"
+
+#include "diagnostic.h"   // for issue_diag()
+
+#include <cassert>        // for assert()
+#include <cerrno>         // for ERANGE
+#include <cstdlib>        // for getenv()
+#include <cstring>        // for strerror()
+#include <string>         // for string
 
 
 static char* get_cwd (char* s, std::size_t l)



Mime
View raw message