Revision: 65516
          http://sourceforge.net/p/brlcad/code/65516
Author:   starseeker
Date:     2015-07-01 20:29:48 +0000 (Wed, 01 Jul 2015)
Log Message:
-----------
MSVC and off_t test aren't getting along...

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2015-07-01 19:52:39 UTC (rev 65515)
+++ brlcad/trunk/CMakeLists.txt 2015-07-01 20:29:48 UTC (rev 65516)
@@ -2022,9 +2022,11 @@
 BRLCAD_TYPE_SIZE("uintptr_t" "")
 BRLCAD_TYPE_SIZE("sig_t" "signal.h")
 
-if(HAVE_PTRDIFF_T AND NOT HAVE_OFF_T AND HAVE_WINDOWS_H)
+# TODO - off_t test isn't sufficient apparently - passes with MSVC
+# but we still need this define
+if(HAVE_PTRDIFF_T AND HAVE_WINDOWS_H)
   CONFIG_H_APPEND(BRLCAD "#define off_t ptrdiff_t\n")
-endif(HAVE_PTRDIFF_T AND NOT HAVE_OFF_T AND HAVE_WINDOWS_H)
+endif(HAVE_PTRDIFF_T AND HAVE_WINDOWS_H)
 
 # Fallback typedefs
 if(NOT HAVE_GID_T AND HAVE_WINDOWS_H)

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to