mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
Bring win32 up to date with compat changes
This commit is contained in:
parent
4e40b62b78
commit
7907540aa5
@ -6,15 +6,16 @@
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRCASESTR
|
||||
extern char * strcasestr(char* haystack, char* needle);
|
||||
extern char *strcasestr(char* haystack, char* needle);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRPTIME
|
||||
char * strptime( char *buf, char *fmt, struct tm *tm );
|
||||
extern char *strptime(char *buf, char *fmt, struct tm *tm );
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRTOK_R
|
||||
extern char *strtok_r(char *s, const char *delim, char **last);
|
||||
#undef strtok_r /* defend against win32 pthreads */
|
||||
extern char *strtok_r(char *s, char *delim, char **last);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_TIMEGM
|
||||
|
@ -2,11 +2,15 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "win32.h"
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "db-generic.h"
|
||||
#include "err.h"
|
||||
#include "mp3-scanner.h"
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "daapd.h"
|
||||
#include "err.h"
|
||||
|
||||
#ifdef HAVE_SQL
|
||||
|
@ -123,6 +123,9 @@
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||
<File
|
||||
RelativePath="..\src\compat.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\conf.c">
|
||||
</File>
|
||||
@ -204,15 +207,6 @@
|
||||
<File
|
||||
RelativePath="..\src\ssc.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\strcasestr.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\strptime.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\strtok_r.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\src\w32-eventlog.c">
|
||||
</File>
|
||||
@ -230,6 +224,9 @@
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||
<File
|
||||
RelativePath="..\src\conf.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\config.h">
|
||||
</File>
|
||||
|
Loading…
Reference in New Issue
Block a user