/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
library/cpp/netliba/v6/stdafx.h
25 строк
429 B
qkrorlqr
Initial NBS OpenSource export
28 апр 2023, 21:54
28 апр 2023, 21:54
783a858
Код
Авторство
О чём код?
#pragma once #include "cstdafx.h" #include <util/system/compat.h> #include <util/network/init.h> #if defined(_unix_) #include <netdb.h> #include <fcntl.h> #elif defined(_win_) #include <winsock2.h> using socklen_t = int; #endif #include <util/generic/ptr.h> template <class T> static const T* BreakAliasing(const void* f) { return (const T*)f; } template <class T> static T* BreakAliasing(void* f) { return (T*)f; }