An update will be applied today, Nov30th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit af86ac7d authored by Stephen Kelly's avatar Stephen Kelly Committed by Brad King
Browse files

SystemTools: Fix build with SunCC/stlport.

The <fcntl.h> header needs to be included before <string> is included
when using stlport. Otherwise:

"SystemTools.cxx", line 1240: Error: UTIME_OMIT is not defined.
"SystemTools.cxx", line 1240: Error: UTIME_NOW is not defined.
"SystemTools.cxx", line 1241: Error: AT_FDCWD is not defined.

Change-Id: I3441ae3a7007c53ad97dea42ec48fedca8cc010c
parent e4fe1d1a
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
#if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__)) #if defined(_WIN32) && (defined(_MSC_VER) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__MINGW32__))
# define KWSYS_WINDOWS_DIRS # define KWSYS_WINDOWS_DIRS
#else
# if defined(__SUNPRO_CC)
# include <fcntl.h>
# endif
#endif #endif
#include "kwsysPrivate.h" #include "kwsysPrivate.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment