libwebsockets.h (1.7.5) | | libwebsockets.h (1.7.6) |
| | |
skipping to change at line 148 ¶ | | skipping to change at line 148 ¶ |
#else | | #else |
#define LWS_EXTERN extern __declspec(dllimport) | | #define LWS_EXTERN extern __declspec(dllimport) |
#endif | | #endif |
#else | | #else |
#define LWS_EXTERN | | #define LWS_EXTERN |
#endif | | #endif |
| | |
#define LWS_INVALID_FILE INVALID_HANDLE_VALUE | | #define LWS_INVALID_FILE INVALID_HANDLE_VALUE |
#define LWS_O_RDONLY _O_RDONLY | | #define LWS_O_RDONLY _O_RDONLY |
| | |
| | #define snprintf _snprintf |
| | |
#else /* NOT WIN32 */ | | #else /* NOT WIN32 */ |
#include <unistd.h> | | #include <unistd.h> |
| | |
#if defined(__NetBSD__) | | #if defined(__NetBSD__) || defined(__FreeBSD__) |
#include <netinet/in.h> | | #include <netinet/in.h> |
#endif | | #endif |
| | |
#define LWS_INLINE inline | | #define LWS_INLINE inline |
#define LWS_O_RDONLY O_RDONLY | | #define LWS_O_RDONLY O_RDONLY |
| | |
#ifndef MBED_OPERATORS | | #ifndef MBED_OPERATORS |
#include <poll.h> | | #include <poll.h> |
#include <netdb.h> | | #include <netdb.h> |
#define LWS_INVALID_FILE -1 | | #define LWS_INVALID_FILE -1 |
| | |
End of changes. 2 change blocks. |
1 lines changed or deleted | | 3 lines changed or added |
|
lws_config.h (1.7.5) | | lws_config.h (1.7.6) |
| | |
skipping to change at line 18 ¶ | | skipping to change at line 18 ¶ |
| | |
/* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL. | | /* Define to 1 to use wolfSSL/CyaSSL as a replacement for OpenSSL. |
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */ | | * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */ |
/* #undef USE_WOLFSSL */ | | /* #undef USE_WOLFSSL */ |
| | |
/* Also define to 1 (in addition to USE_WOLFSSL) when using the | | /* Also define to 1 (in addition to USE_WOLFSSL) when using the |
(older) CyaSSL library */ | | (older) CyaSSL library */ |
/* #undef USE_OLD_CYASSL */ | | /* #undef USE_OLD_CYASSL */ |
| | |
/* The Libwebsocket version */ | | /* The Libwebsocket version */ |
#define LWS_LIBRARY_VERSION "1.7.5" | | #define LWS_LIBRARY_VERSION "1.7.6" |
| | |
#define LWS_LIBRARY_VERSION_MAJOR 1 | | #define LWS_LIBRARY_VERSION_MAJOR 1 |
#define LWS_LIBRARY_VERSION_MINOR 7 | | #define LWS_LIBRARY_VERSION_MINOR 7 |
#define LWS_LIBRARY_VERSION_PATCH 5 | | #define LWS_LIBRARY_VERSION_PATCH 6 |
/* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */ | | /* LWS_LIBRARY_VERSION_NUMBER looks like 1005001 for e.g. version 1.5.1 */ |
#define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS
_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH | | #define LWS_LIBRARY_VERSION_NUMBER (LWS_LIBRARY_VERSION_MAJOR*1000000)+(LWS
_LIBRARY_VERSION_MINOR*1000)+LWS_LIBRARY_VERSION_PATCH |
| | |
/* The current git commit hash that we're building from */ | | /* The current git commit hash that we're building from */ |
#define LWS_BUILD_HASH "root@mail.warmcat.com-" | | #define LWS_BUILD_HASH "root@mail.warmcat.com-" |
| | |
/* Build with OpenSSL support */ | | /* Build with OpenSSL support */ |
#define LWS_OPENSSL_SUPPORT | | #define LWS_OPENSSL_SUPPORT |
| | |
/* The client should load and trust CA root certs it finds in the OS */ | | /* The client should load and trust CA root certs it finds in the OS */ |
| | |
End of changes. 2 change blocks. |
2 lines changed or deleted | | 2 lines changed or added |
|