From 7caaea18b728ead4e45226aafc09dba01e514a2d Mon Sep 17 00:00:00 2001 From: Antonin Descampe Date: Thu, 31 Jul 2008 18:47:41 +0000 Subject: Deleting obsolete files and directories, adding v2-specific files and directories, updating existing files to v2. See README.v2 for more info --- libopenjpeg/j2k_lib.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libopenjpeg/j2k_lib.c') diff --git a/libopenjpeg/j2k_lib.c b/libopenjpeg/j2k_lib.c index 91aee007..3b86c728 100644 --- a/libopenjpeg/j2k_lib.c +++ b/libopenjpeg/j2k_lib.c @@ -27,13 +27,16 @@ #ifdef WIN32 #include #else -#include +/*#include #include #include +*/ #endif /* WIN32 */ -#include "opj_includes.h" +#include "j2k_lib.h" -double opj_clock(void) { + +OPJ_FLOAT64 opj_clock(void) { +#if 0 #ifdef WIN32 /* WIN32: use QueryPerformance (very accurate) */ LARGE_INTEGER freq , t ; @@ -55,5 +58,8 @@ double opj_clock(void) { /* (2b) More precisely! Get the microseconds part ! */ return ( procTime + (t.ru_utime.tv_usec + t.ru_stime.tv_usec) * 1e-6 ) ; #endif + +#endif + return 0; } -- cgit v1.2.3