libwebsockets.h (1.7.6) | | libwebsockets.h (1.7.7) |
| | |
skipping to change at line 170 ¶ | | skipping to change at line 170 ¶ |
#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 |
#else | | #else |
#define getdtablesize() (20) | | #define getdtablesize() (20) |
#define LWS_INVALID_FILE NULL | | #define LWS_INVALID_FILE NULL |
#endif | | #endif |
| | |
#if defined(__GNUC__) | | #if defined(__GNUC__) |
| | |
| | /* warn_unused_result attribute only supported by GCC 3.4 or later */ |
| | #if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) |
| | #define LWS_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) |
| | #else |
| | #define LWS_WARN_UNUSED_RESULT |
| | #endif |
| | |
#define LWS_VISIBLE __attribute__((visibility("default"))) | | #define LWS_VISIBLE __attribute__((visibility("default"))) |
#define LWS_WARN_UNUSED_RESULT __attribute__ ((warn_unused_result)) | | |
#define LWS_WARN_DEPRECATED __attribute__ ((deprecated)) | | #define LWS_WARN_DEPRECATED __attribute__ ((deprecated)) |
#else | | #else |
#define LWS_VISIBLE | | #define LWS_VISIBLE |
#define LWS_WARN_UNUSED_RESULT | | #define LWS_WARN_UNUSED_RESULT |
#define LWS_WARN_DEPRECATED | | #define LWS_WARN_DEPRECATED |
#endif | | #endif |
| | |
#if defined(__ANDROID__) | | #if defined(__ANDROID__) |
#include <unistd.h> | | #include <unistd.h> |
#define getdtablesize() sysconf(_SC_OPEN_MAX) | | #define getdtablesize() sysconf(_SC_OPEN_MAX) |
| | |
End of changes. 2 change blocks. |
1 lines changed or deleted | | 8 lines changed or added |
|
lws_config.h (1.7.6) | | lws_config.h (1.7.7) |
| | |
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.6" | | #define LWS_LIBRARY_VERSION "1.7.7" |
| | |
#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 6 | | #define LWS_LIBRARY_VERSION_PATCH 7 |
/* 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 |
|