5c6cd3aaec
When config.h is not included, the build configuration is missing from the translation unit in question. This affects ENABLE_SSL, for one. Also, HttpRequest.hpp depends on LOOLWSD_VERSION, which is defined in config.h. The config.h header must be included in all trasnlation-units, and must be the first include. This is to avoid conflicts and/or mismatching binaries built with different compile-time values. We also statically assert if LOOLWSD_VERSION is not defined, to help the error message. Change-Id: Ic4b45de879f3360a07e9507fdf04abfa4cec6a71 Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk> |
||
---|---|---|
.. | ||
Buffer.hpp | ||
clientnb.cpp | ||
DelaySocket.cpp | ||
DelaySocket.hpp | ||
FakeSocket.cpp | ||
FakeSocket.hpp | ||
HttpHelper.cpp | ||
HttpHelper.hpp | ||
HttpRequest.cpp | ||
HttpRequest.hpp | ||
NetUtil.cpp | ||
NetUtil.hpp | ||
ServerSocket.hpp | ||
Socket.cpp | ||
Socket.hpp | ||
Ssl.cpp | ||
Ssl.hpp | ||
SslSocket.hpp | ||
WebSocketHandler.hpp |