[cmake-commits] alex committed Directory.cxx 1.19 1.20
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 17 15:55:19 EDT 2007
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv19970/Source/kwsys
Modified Files:
Directory.cxx
Log Message:
ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
Index: Directory.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/Directory.cxx,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- Directory.cxx 1 Aug 2006 19:16:19 -0000 1.19
+++ Directory.cxx 17 Sep 2007 19:55:17 -0000 1.20
@@ -193,6 +193,15 @@
#include <sys/types.h>
#include <dirent.h>
+/* There is a problem with the Portland compiler, large file
+support and glibc/Linux system headers:
+http://www.pgroup.com/userforum/viewtopic.php?
+p=1992&sid=f16167f51964f1a68fe5041b8eb213b6
+*/
+#if defined(__PGI) && defined(__USE_FILE_OFFSET64)
+# define dirent dirent64
+#endif
+
namespace KWSYS_NAMESPACE
{
More information about the Cmake-commits
mailing list