summaryrefslogtreecommitdiffstats
path: root/util/system/compat.cpp
diff options
context:
space:
mode:
authorsomov <[email protected]>2022-02-10 16:45:47 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:47 +0300
commita5950576e397b1909261050b8c7da16db58f10b1 (patch)
tree7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /util/system/compat.cpp
parent81eddc8c0b55990194e112b02d127b87d54164a9 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/compat.cpp')
-rw-r--r--util/system/compat.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/system/compat.cpp b/util/system/compat.cpp
index 18fbfa296a7..f1ea393ea79 100644
--- a/util/system/compat.cpp
+++ b/util/system/compat.cpp
@@ -23,15 +23,15 @@ const char* getprogname() {
#endif
#ifdef _win_
-
-void sleep(i64 len) {
- Sleep((unsigned long)len * 1000);
-}
-
-void usleep(i64 len) {
- Sleep((unsigned long)len / 1000);
-}
-
+
+void sleep(i64 len) {
+ Sleep((unsigned long)len * 1000);
+}
+
+void usleep(i64 len) {
+ Sleep((unsigned long)len / 1000);
+}
+
#include <fcntl.h>
int ftruncate(int fd, i64 length) {
return _chsize_s(fd, length);