suitesparse/bnc775418-enable-SuiteSparse_time-symbol.patch

20 lines
713 B
Diff
Raw Normal View History

diff -urN SuiteSparse.orig/SuiteSparse_config/SuiteSparse_config.h SuiteSparse/SuiteSparse_config/SuiteSparse_config.h
--- SuiteSparse.orig/SuiteSparse_config/SuiteSparse_config.h 2012-08-15 10:44:18.240183158 +0800
+++ SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2012-08-15 10:48:37.033947737 +0800
@@ -121,13 +121,13 @@
) ;
/* determine which timer to use, if any */
-#ifndef NTIMER
+/*#ifndef NTIMER*/
#ifdef _POSIX_C_SOURCE
#if _POSIX_C_SOURCE >= 199309L
#define SUITESPARSE_TIMER_ENABLED
#endif
#endif
-#endif
+/*#endif*/
/* ========================================================================== */
/* === SuiteSparse version ================================================== */