stdafx.h 301 B

12345678910111213141516
  1. #pragma once
  2. #include <util/system/platform.h>
  3. #if defined(_darwin_)
  4. #define __APPLE_USE_RFC_2292
  5. #endif
  6. #include <util/system/compat.h>
  7. #include <util/network/init.h>
  8. #if defined(_unix_)
  9. #include <netdb.h>
  10. #include <fcntl.h>
  11. #elif defined(_win_)
  12. #include <winsock2.h>
  13. using socklen_t = int;
  14. #endif