Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
c25902fd
Commit
c25902fd
authored
Jun 29, 2015
by
Ghislain MARY
Browse files
Use _WIN32 defines instead of WIN32.
parent
b7a15bb5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
tester/belle_sip_core_tester.c
tester/belle_sip_core_tester.c
+1
-1
tester/belle_sip_headers_tester.c
tester/belle_sip_headers_tester.c
+2
-2
tester/belle_sip_tester.c
tester/belle_sip_tester.c
+1
-1
tester/common/bc_tester_utils.h
tester/common/bc_tester_utils.h
+1
-1
No files found.
tester/belle_sip_core_tester.c
View file @
c25902fd
...
...
@@ -24,7 +24,7 @@
#include "register_tester.h"
#ifndef WIN32
#ifndef
_
WIN32
#include <sys/types.h>
#include <inttypes.h>
#endif
...
...
tester/belle_sip_headers_tester.c
View file @
c25902fd
...
...
@@ -874,7 +874,7 @@ static void test_replaces_escaped_header(void) {
}
#ifndef WIN32
#ifndef
_
WIN32
static
void
_test_date_header
(
void
){
belle_sip_header_date_t
*
date
,
*
date2
;
time_t
utc
;
...
...
@@ -894,7 +894,7 @@ static void _test_date_header(void){
#endif
static
void
test_date_header
(
void
){
#ifdef WIN32
#ifdef
_
WIN32
// TODO: setenv and unsetenv are not available for Windows
#else
char
*
tz
;
...
...
tester/belle_sip_tester.c
View file @
c25902fd
...
...
@@ -67,7 +67,7 @@ void belle_sip_tester_set_root_ca_path(const char *root_ca_path) {
static
void
log_handler
(
int
lev
,
const
char
*
fmt
,
va_list
args
)
{
#ifdef WIN32
#ifdef
_
WIN32
/* We must use stdio to avoid log formatting (for autocompletion etc.) */
vfprintf
(
lev
==
BELLE_SIP_LOG_ERROR
?
stderr
:
stdout
,
fmt
,
args
);
fprintf
(
lev
==
BELLE_SIP_LOG_ERROR
?
stderr
:
stdout
,
"
\n
"
);
...
...
tester/common/bc_tester_utils.h
View file @
c25902fd
...
...
@@ -25,7 +25,7 @@
#include <string.h>
#include <math.h>
#ifdef WIN32
#ifdef
_
WIN32
#define snprintf _snprintf
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment