Revision: 57197
          http://sourceforge.net/p/brlcad/code/57197
Author:   starseeker
Date:     2013-08-28 02:54:19 +0000 (Wed, 28 Aug 2013)
Log Message:
-----------
Using gmtime now, don't need this

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2013-08-28 02:52:41 UTC (rev 57196)
+++ brlcad/trunk/CMakeLists.txt 2013-08-28 02:54:19 UTC (rev 57197)
@@ -1703,18 +1703,6 @@
 BRLCAD_FUNCTION_EXISTS(getloadavg HAVE_GETLOADAVG)
 BRLCAD_FUNCTION_EXISTS(getopt_long HAVE_GETOPT_LONG)
 BRLCAD_FUNCTION_EXISTS(getprogname HAVE_GETPROGNAME)
-BRLCAD_FUNCTION_EXISTS(gmtime_r HAVE_GMTIME_R)
-
-# we do this manually for now because CHECK_SYMBOL_EXISTS and
-# CHECK_PROTOTYPE_EXISTS are both terribly broken.
-# test for _gmtime_s()
-if("${HAVE_GMTIME_S}" MATCHES "^${HAVE_GMTIME_S}$")
-  check_c_source_compiles("#include <time.h>\n int main() {struct tm* tm; 
time_t testtime; (void)gmtime_s(&testtime, &tm); return 0; }" HAVE_GMTIME_S)
-  if(HAVE_GMTIME_S)
-    CONFIG_H_APPEND(BRLCAD "#cmakedefine HAVE_GMTIME_S 1\n")
-  endif(HAVE_GMTIME_S)
-endif("${HAVE_GMTIME_S}" MATCHES "^${HAVE_GMTIME_S}$")
-
 BRLCAD_FUNCTION_EXISTS(kill HAVE_KILL)
 BRLCAD_FUNCTION_EXISTS(lrand48 HAVE_LRAND48)
 BRLCAD_FUNCTION_EXISTS(memset HAVE_MEMSET)

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


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to