Fixed windows compile problems.
This commit is contained in:
parent
3cc4067ab1
commit
386fd61efc
@ -661,8 +661,8 @@ ObtainAuthTokenInt(
|
||||
bool setupHostEntries = true;
|
||||
char *pHostNameAnd443 = NULL;
|
||||
char *pHostNameAnd2645 = NULL;
|
||||
ATSHostEntry serviceHostEntry443 = {};
|
||||
ATSHostEntry serviceHostEntry2645 = {};
|
||||
ATSHostEntry serviceHostEntry443 = {NULL, NULL, NULL, NULL, 0};
|
||||
ATSHostEntry serviceHostEntry2645 = {NULL, NULL, NULL, NULL, 0};
|
||||
LIST_ENTRY *pListEntry;
|
||||
ATSHostEntry *pHostEntryInUse;
|
||||
|
||||
@ -1050,10 +1050,12 @@ CreateATSHostEntry(
|
||||
// L2
|
||||
//=======================================================================--
|
||||
{
|
||||
ATSHostEntry *pHostEntry;
|
||||
|
||||
DbgTrace(1, "-CreateATSHostEntry- Start\n", 0);
|
||||
|
||||
// Create host entry
|
||||
ATSHostEntry *pHostEntry = malloc(sizeof(ATSHostEntry));
|
||||
pHostEntry = malloc(sizeof(ATSHostEntry));
|
||||
if (pHostEntry != NULL)
|
||||
{
|
||||
// Allocate buffers to keep copies of the strings provided
|
||||
|
@ -100,6 +100,8 @@ typedef struct _RpcSession
|
||||
#define AcquireModuleMutex WaitForSingleObjectEx(g_hModuleMutex, INFINITE, FALSE)
|
||||
#define ReleaseModuleMutex ReleaseMutex(g_hModuleMutex)
|
||||
|
||||
#define strtok_r strtok_s
|
||||
|
||||
//===[ Inlines functions ]===============================================
|
||||
|
||||
//===[ Function prototypes ]===============================================
|
||||
|
Loading…
Reference in New Issue
Block a user