Subject: [PATCH] Always include lws_config.h since now we have only CMake
build
#else
#include <stdarg.h>
#endif
-
-#ifdef CMAKE_BUILD
+
+/* That's a bad idea since it will leak all internal defines outside */
#include "lws_config.h"
-#endif
#if defined(WIN32) || defined(_WIN32)
* MA 02110-1301 USA
*/
-/* System introspection configs */
-#ifdef CMAKE_BUILD
#include "lws_config.h"
-#else
-#if defined(WIN32) || defined(_WIN32)
-#define inline __inline
-#else /* not WIN32 */
-#include "config.h"
-
-#endif /* not WIN32 */
-#endif /* not CMAKE */
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <unistd.h>
#endif
-#ifdef CMAKE_BUILD
#include "lws_config.h"
-#endif
#include "../lib/libwebsockets.h"
#include <unistd.h>
#endif
-#ifdef CMAKE_BUILD
#include "lws_config.h"
-#endif
#include "../lib/libwebsockets.h"
#include <unistd.h>
#endif
-#ifdef CMAKE_BUILD
#include "lws_config.h"
-#endif
#include "../lib/libwebsockets.h"
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
-#ifdef CMAKE_BUILD
#include "lws_config.h"
-#endif
#include <stdio.h>
#include <stdlib.h>