diff --git a/CMakeLists.txt b/CMakeLists.txt index 29448ba..c795240 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ endif() if(LIBUTP_STANDALONE_BUILD) if(NOT CMAKE_C_STANDARD) - set(CMAKE_C_STANDARD 99) + set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) endif() diff --git a/README.md b/README.md index a8e20ec..2a6b1ba 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ while maintaining minimum extra delay. It is implemented on top of UDP to be cross-platform and functional today. As a result, uTP is the primary transport for uTorrent peer-to-peer connections. -uTP is written in C++, but the external interface is strictly C (ANSI C89). +uTP is written in C++, but the external interface is strictly C (C11 standard). ## The Interface