1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

From 04da2ccd1e8c5b582c4e2a77ee53f929ae8f22a0 Mon Sep 17 00:00:00 2001

Subject: [PATCH] Always include lws_config.h since now we have only CMake
 build
This commit is contained in:
wonder-mice 2015-04-22 00:16:57 -07:00 committed by Andy Green
parent bd2a6c6477
commit 41802c7a98
6 changed files with 2 additions and 21 deletions

View file

@ -29,10 +29,9 @@ extern "C" {
#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)

View file

@ -19,17 +19,7 @@
* 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>

View file

@ -31,9 +31,7 @@
#include <unistd.h>
#endif
#ifdef CMAKE_BUILD
#include "lws_config.h"
#endif
#include "../lib/libwebsockets.h"

View file

@ -35,9 +35,7 @@
#include <unistd.h>
#endif
#ifdef CMAKE_BUILD
#include "lws_config.h"
#endif
#include "../lib/libwebsockets.h"

View file

@ -35,9 +35,7 @@
#include <unistd.h>
#endif
#ifdef CMAKE_BUILD
#include "lws_config.h"
#endif
#include "../lib/libwebsockets.h"

View file

@ -18,9 +18,7 @@
* 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>