mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-29 16:46:21 +00:00
fixes for building with MSVC
This commit is contained in:
committed by
Steffen Jaeckel
parent
f8cda0f65c
commit
79066d797b
@@ -11,11 +11,16 @@
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <libgen.h> /* basename */
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <strophe.h>
|
||||
#ifndef _WIN32
|
||||
#include <libgen.h> /* basename */
|
||||
#else
|
||||
#define strtok_r strtok_s
|
||||
#define basename(x) "vcard"
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
xmpp_ctx_t *ctx;
|
||||
|
||||
Reference in New Issue
Block a user