[Mobies-commit] [commit] r4231 - UDM/trunk/src/UdmDom

endre at redhat3.isis.vanderbilt.edu endre at redhat3.isis.vanderbilt.edu
Mon Jan 6 00:43:32 CST 2014


Author: endre
Date: Mon Jan  6 00:43:32 2014
New Revision: 4231

Log:
<unistd.h> is not available on WIN.

Modified:
   UDM/trunk/src/UdmDom/UdmDom.cpp

Modified: UDM/trunk/src/UdmDom/UdmDom.cpp
==============================================================================
--- UDM/trunk/src/UdmDom/UdmDom.cpp	Sun Jan  5 23:42:03 2014	(r4230)
+++ UDM/trunk/src/UdmDom/UdmDom.cpp	Mon Jan  6 00:43:32 2014	(r4231)
@@ -190,7 +190,11 @@
 #include <cstdio>
 #include <cstdlib>
 #include <fstream>
+#if (defined(__MACH__) || defined(__APPLE__) )
+// Since Apple LLVM version 5.0 this has to be included explicitly
+// it is needed for access().
 #include <unistd.h>
+#endif
 
 
 #include "Uml.h"


More information about the Mobies-commit mailing list