[FriBidi-commit] fribidi2/bin fribidi-benchmark.c,1.5,1.6

Behdad Esfahbod behdad at freedesktop.org
Sun Sep 4 09:57:11 PDT 2005


Update of /cvs/fribidi/fribidi2/bin
In directory gabe:/tmp/cvs-serv23264/bin

Modified Files:
	fribidi-benchmark.c 
Log Message:
Better handling of sys/times.h.  Also, don't pass -pedantic to gcc.


Index: fribidi-benchmark.c
===================================================================
RCS file: /cvs/fribidi/fribidi2/bin/fribidi-benchmark.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fribidi-benchmark.c	30 Jul 2005 09:06:27 -0000	1.5
+++ fribidi-benchmark.c	4 Sep 2005 16:57:09 -0000	1.6
@@ -124,8 +124,12 @@
 )
 {
   struct tms tb;
+#if HAVE_SYS_TIMES_H
   times (&tb);
   return 0.01 * tb.tms_utime;
+#else
+#warning Please fill in here to use other functions for determining time.
+#endif
 }
 
 static void



More information about the fribidi-commit mailing list