mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
No description
![]() the current LWS_LIBRARY_VERSION macro is a string, which makes it hard to test for version-dependent features in using code. This patch adopts the Google version number method, which encodes a version as an integer as 'major * 10^6 + minor * 10^3 + micro'. This makes it easy to test: #if defined(LWS_LIBRARY_VERSION_NUMBER) && (LWS_LIBRARY_VERSION_NUMBER > 1003000) // use feature introduced post 1.3.0 #endif Also, spin out version information into a separate include since including library build information from lws_config.h is a bad idea as it interferes with using code. Signed-off-by: Michael Haberler <git@mah.priv.at> |
||
---|---|---|
cmake | ||
lib | ||
scripts | ||
test-server | ||
win32port | ||
.gitignore | ||
Android.mk | ||
changelog | ||
CMakeLists.txt | ||
config.h.cmake | ||
cross-arm-linux-gnueabihf.cmake | ||
cross-ming.cmake | ||
cross-openwrt-makefile | ||
libwebsockets-api-doc.html | ||
libwebsockets.spec | ||
LICENSE | ||
README | ||
README.build | ||
README.coding | ||
README.test-apps | ||
version.h.cmake |
This is the libwebsockets C library for lightweight websocket clients and servers. For support, visit http://libwebsockets.org and consider joining the project mailing list at http://ml.libwebsockets.org/mailman/listinfo/libwebsockets You can get the latest version of the library from git http://git.libwebsockets.org https://github.com/warmcat/libwebsockets for more information: README.build - information on building the library README.coding - information for writing code using the library README.test-apps - information about the test apps built with the library