Skip to content

Commit

Permalink
Use local strcasestr function for solaris in addition to windows.
Browse files Browse the repository at this point in the history
Increase squeezelite revision to 1422.
  • Loading branch information
ralph-irving committed Jan 7, 2023
1 parent 71832fb commit 6394b3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions squeezelite.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

#define MAJOR_VERSION "1.9"
#define MINOR_VERSION "9"
#define MICRO_VERSION "1421"
#define MICRO_VERSION "1422"

#if defined(CUSTOM_VERSION)
#define VERSION "v" MAJOR_VERSION "." MINOR_VERSION "-" MICRO_VERSION STR(CUSTOM_VERSION)
Expand Down Expand Up @@ -289,6 +289,7 @@
#include <pthread.h>
#include <signal.h>
#if SUN
#include <ctype.h>
#include <sys/types.h>
#endif /* SUN */

Expand Down Expand Up @@ -456,7 +457,7 @@ void logprint(const char *fmt, ...);

// utils.c (non logging)
typedef enum { EVENT_TIMEOUT = 0, EVENT_READ, EVENT_WAKE } event_type;
#if WIN && USE_SSL
#if WIN || SUN
char* strcasestr(const char *haystack, const char *needle);
#endif

Expand Down
2 changes: 1 addition & 1 deletion utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ void touch_memory(u8_t *buf, size_t size) {
}
#endif

#if WIN
#if WIN || SUN
char *strcasestr(const char *haystack, const char *needle) {
size_t length_needle;
size_t length_haystack;
Expand Down

0 comments on commit 6394b3f

Please sign in to comment.