[Cmake-commits] [cmake-commits] hoffman committed zconf.h 1.3 1.4 zutil.h 1.2 1.3
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 15 17:53:31 EDT 2008
Update of /cvsroot/CMake/CMake/Utilities/cmzlib
In directory public:/mounts/ram/cvs-serv30779/Utilities/cmzlib
Modified Files:
zconf.h zutil.h
Log Message:
ENH: add initial support for HAIKU OS from bug# 7425
Index: zconf.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmzlib/zconf.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** zconf.h 11 Sep 2007 15:22:29 -0000 1.3
--- zconf.h 15 Sep 2008 21:53:28 -0000 1.4
***************
*** 238,242 ****
#endif
! #if defined (__BEOS__)
# ifdef ZLIB_DLL
# ifdef ZLIB_INTERNAL
--- 238,242 ----
#endif
! #if defined (__BEOS__) && !defined (__HAIKU__)
# ifdef ZLIB_DLL
# ifdef ZLIB_INTERNAL
Index: zutil.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmzlib/zutil.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** zutil.h 11 Sep 2007 15:22:29 -0000 1.2
--- zutil.h 15 Sep 2008 21:53:28 -0000 1.3
***************
*** 148,152 ****
#endif
! #if defined(_BEOS_) || defined(RISCOS)
# define fdopen(fd,mode) NULL /* No fdopen() */
#endif
--- 148,158 ----
#endif
! /* Haiku defines both __HAIKU__ and __BEOS__ (for now) */
! /* many BeOS workarounds are no longer needed in Haiku */
! #if defined(__HAIKU__) && defined(__BEOS__)
! #undef __BEOS__
! #endif
!
! #if defined(_BEOS_) || defined(RISCOS)
# define fdopen(fd,mode) NULL /* No fdopen() */
#endif
More information about the Cmake-commits
mailing list