[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/libbase getclocktime.hpp
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/libbase getclocktime.hpp |
Date: |
Sat, 29 Mar 2008 02:48:23 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 08/03/29 02:48:23
Modified files:
libbase : getclocktime.hpp
Log message:
Workaround for systems lacking clock_gettime().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/getclocktime.hpp?cvsroot=gnash&r1=1.1&r2=1.2
Patches:
Index: getclocktime.hpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/getclocktime.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- getclocktime.hpp 29 Mar 2008 02:46:58 -0000 1.1
+++ getclocktime.hpp 29 Mar 2008 02:48:23 -0000 1.2
@@ -20,14 +20,12 @@
#include "gnashconfig.h"
#endif
-#ifdef HAVE_CLOCK_GETTIME
-# include <ctime>
-#else
-# include <sys/time.h>
-#endif
+#include <ctime>
#ifndef HAVE_CLOCK_GETTIME
+#include <sys/time.h>
+
#define CLOCK_REALTIME 0 /* Dummy */
static int clock_gettime(int clk_id /* unused */, struct timespec *tp) {
- [Gnash-commit] gnash/libbase getclocktime.hpp,
Markus Gothe <=