Revision: 44576
http://brlcad.svn.sourceforge.net/brlcad/?rev=44576&view=rev
Author: erikgreenwald
Date: 2011-05-05 21:20:29 +0000 (Thu, 05 May 2011)
Log Message:
-----------
Define _FILE_OFFSET_BITS and _LARGEFILE64_SOURCE to 32b filesystem access to
work around zlib's "little trick" that causes havoc with -Wundef.
Modified Paths:
--------------
brlcad/trunk/CMakeLists.txt
Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2011-05-05 20:58:30 UTC (rev 44575)
+++ brlcad/trunk/CMakeLists.txt 2011-05-05 21:20:29 UTC (rev 44576)
@@ -679,6 +679,8 @@
FILE(APPEND ${CONFIG_H_FILE} "#define SIZEOF_VOID_P
${CMAKE_SIZEOF_VOID_P}\n")
ENDIF(MSVC)
MARK_AS_ADVANCED(BRLCAD-ENABLE_64BIT)
+FILE(APPEND ${CONFIG_H_FILE} "#define _FILE_OFFSET_BITS 32\n")
+FILE(APPEND ${CONFIG_H_FILE} "#define _LARGEFILE64_SOURCE 0\n")
# Take advantage of parallel processors if available - highly recommended
OPTION(BRLCAD-ENABLE_SMP "Enable SMP architecture parallel computation
support" ON)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits