Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/intern/time.c')
-rw-r--r--source/blender/blenlib/intern/time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/time.c b/source/blender/blenlib/intern/time.c
index 3cf3221bd08..a2665f96b29 100644
--- a/source/blender/blenlib/intern/time.c
+++ b/source/blender/blenlib/intern/time.c
@@ -39,7 +39,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-double PIL_check_seconds_timer(void)
+double PIL_check_seconds_timer(void)
{
static int hasperfcounter = -1; /* (-1 == unknown) */
static double perffreq;
@@ -89,7 +89,7 @@ void PIL_sleep_ms(int ms)
#include <unistd.h>
#include <sys/time.h>
-double PIL_check_seconds_timer(void)
+double PIL_check_seconds_timer(void)
{
struct timeval tv;
struct timezone tz;
@@ -115,7 +115,7 @@ void PIL_sleep_ms(int ms)
sleep(ms / 1000);
ms = (ms % 1000);
}
-
+
usleep(ms * 1000);
}