summaryrefslogtreecommitdiffstats
path: root/util/system/compat.h
diff options
context:
space:
mode:
authordenplusplus <[email protected]>2022-02-10 16:47:34 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:34 +0300
commit57c20d143e8a438cd76b9fdc3ca2e8ee3ac1f32a (patch)
treecc63639f8e502db19a82c20e2861c6d1edbf9fea /util/system/compat.h
parent464ba3814a83db4f2d5327393b0b6eaf0c86bfd7 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/compat.h')
-rw-r--r--util/system/compat.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/compat.h b/util/system/compat.h
index c53dbcca178..e77dbd251bd 100644
--- a/util/system/compat.h
+++ b/util/system/compat.h
@@ -54,14 +54,14 @@ extern "C" {
#define pclose _pclose
#endif
-#ifdef _win_
+#ifdef _win_
#define NAME_MAX FILENAME_MAX
#endif
#ifdef _sun_
#define NAME_MAX PATH_MAX
#endif
-#ifdef _win_
+#ifdef _win_
#ifdef sleep // may be defined by perl
#undef sleep
@@ -72,11 +72,11 @@ void usleep(i64 len);
#endif
-#ifdef _win_
+#ifdef _win_
int ftruncate(int fd, i64 length);
int truncate(const char* name, i64 length);
-#endif
-
+#endif
+
#if defined(GNUC)
#ifndef va_copy
#define va_copy __va_copy