summaryrefslogtreecommitdiff
path: root/jp3d/libjp3dvm/jp3d_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'jp3d/libjp3dvm/jp3d_lib.c')
-rwxr-xr-xjp3d/libjp3dvm/jp3d_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/jp3d/libjp3dvm/jp3d_lib.c b/jp3d/libjp3dvm/jp3d_lib.c
index fe19ab8b..b2303991 100755
--- a/jp3d/libjp3dvm/jp3d_lib.c
+++ b/jp3d/libjp3dvm/jp3d_lib.c
@@ -24,17 +24,17 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifdef WIN32
+#ifdef _WIN32
#include <windows.h>
#else
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/times.h>
-#endif /* WIN32 */
+#endif /* _WIN32 */
#include "opj_includes.h"
double opj_clock() {
-#ifdef WIN32
+#ifdef _WIN32
/* WIN32: use QueryPerformance (very accurate) */
LARGE_INTEGER freq , t ;
/* freq is the clock speed of the CPU */
@@ -54,7 +54,7 @@ double opj_clock() {
procTime = t.ru_utime.tv_sec + t.ru_stime.tv_sec;
/* (2b) More precisely! Get the microseconds part ! */
return ( procTime + (t.ru_utime.tv_usec + t.ru_stime.tv_usec) * 1e-6 ) ;
-#endif
+#endif /* _WIN32 */
}
void* opj_malloc( size_t size ) {