Revision: 1486
http://opengtoolkit.svn.sourceforge.net/opengtoolkit/?rev=1486&view=rev
Author: labviewer
Date: 2013-03-17 15:01:38 +0000 (Sun, 17 Mar 2013)
Log Message:
-----------
Add a define for vxworks
Modified Paths:
--------------
trunk/lvzip/c_source/zconf.h
Modified: trunk/lvzip/c_source/zconf.h
===================================================================
--- trunk/lvzip/c_source/zconf.h 2012-07-23 21:28:24 UTC (rev 1485)
+++ trunk/lvzip/c_source/zconf.h 2013-03-17 15:01:38 UTC (rev 1486)
@@ -442,6 +442,9 @@
#if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
# define Z_HAVE_UNISTD_H
#endif
+#if (defined(__vxworks) || defined(__vxworks__)) && !defined(Z_HAVE_UNISTD_H)
+# define Z_HAVE_UNISTD_H
+#endif
#ifndef Z_SOLO
# if defined(Z_HAVE_UNISTD_H) || defined(LARGEFILE64_SOURCE)
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|