diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 980edcd3304699edf9d4e4d6a656e585028e2a72 (patch) | |
tree | 139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/system/compat.h | |
parent | b036a557f285146e5e35d4213e29a094ab907bcf (diff) | |
download | ydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/compat.h')
-rw-r--r-- | util/system/compat.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/compat.h b/util/system/compat.h index c53dbcca17..dc53e32ffe 100644 --- a/util/system/compat.h +++ b/util/system/compat.h @@ -49,18 +49,18 @@ extern "C" { #endif } -#ifdef _MSC_VER +#ifdef _MSC_VER #define popen _popen #define pclose _pclose -#endif - +#endif + #ifdef _win_ #define NAME_MAX FILENAME_MAX -#endif -#ifdef _sun_ +#endif +#ifdef _sun_ #define NAME_MAX PATH_MAX -#endif - +#endif + #ifdef _win_ #ifdef sleep // may be defined by perl @@ -71,10 +71,10 @@ void sleep(i64 len); void usleep(i64 len); #endif - + #ifdef _win_ -int ftruncate(int fd, i64 length); -int truncate(const char* name, i64 length); +int ftruncate(int fd, i64 length); +int truncate(const char* name, i64 length); #endif #if defined(GNUC) |