[trunk] Fix compilation:
[openjpeg.git] / src / lib / openmj2 / j2k_lib.h
index 5f3406e510650511618d8d99e43343d65e2ffaf2..d657b43468e2b795ab84d7fe878cdbc96cff9121 100644 (file)
@@ -43,7 +43,7 @@ The functions in J2K_LIB.C are internal utilities mainly used for timing.
 Difference in successive opj_clock() calls tells you the elapsed time
 @return Returns time in seconds
 */
-double opj_clock(void);
+OPJ_API double OPJ_CALLCONV opj_clock(void);
 
 /* ----------------------------------------------------------------------- */
 /*@}*/