Revision: 45717
http://brlcad.svn.sourceforge.net/brlcad/?rev=45717&view=rev
Author: brlcad
Date: 2011-07-28 19:42:04 +0000 (Thu, 28 Jul 2011)
Log Message:
-----------
remove the _LARGEFILE64_SOURCE hack from the cmake template too. causes build
problems with system headers that also define it.
Modified Paths:
--------------
brlcad/trunk/src/other/libz/zconf.h.cmakein
Modified: brlcad/trunk/src/other/libz/zconf.h.cmakein
===================================================================
--- brlcad/trunk/src/other/libz/zconf.h.cmakein 2011-07-28 19:36:34 UTC (rev
45716)
+++ brlcad/trunk/src/other/libz/zconf.h.cmakein 2011-07-28 19:42:04 UTC (rev
45717)
@@ -366,16 +366,6 @@
# include <sys/types.h> /* for off_t */
#endif
-/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
- * "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
- * though the former does not conform to the LFS document), but considering
- * both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
- * equivalently requesting no 64-bit operations
- */
-#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
-# undef _LARGEFILE64_SOURCE
-#endif
-
#if defined(Z_HAVE_UNISTD_H) || defined(_LARGEFILE64_SOURCE)
# include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits