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
7dd2e9ff
Commit
7dd2e9ff
authored
Feb 25, 2015
by
Ghislain MARY
Browse files
Fix build of tests with Visual Studio.
parent
41e5b77d
Changes
4
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
7dd2e9ff
...
...
@@ -158,7 +158,10 @@ if(APPLE)
set
(
LINK_FLAGS
"
${
LINK_FLAGS
}
-framework CoreFoundation -framework CFNetwork"
)
endif
()
if
(
WIN32
)
add_definitions
(
-DBELLESIP_EXPORTS
)
add_definitions
(
-DBELLESIP_EXPORTS
-DBELLESIP_INTERNAL_EXPORTS
)
endif
()
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/FindBelleSIP.cmake.in
${
CMAKE_CURRENT_BINARY_DIR
}
/FindBelleSIP.cmake @ONLY
)
...
...
include/belle-sip/object.h
View file @
7dd2e9ff
...
...
@@ -324,7 +324,7 @@ char *belle_sip_object_describe(void *obj);
/**
* Returns a string describing the inheritance diagram and implemented interfaces of an object given its type name.
**/
char
*
belle_sip_object_describe_type_from_name
(
const
char
*
name
);
BELLESIP_EXPORT
char
*
belle_sip_object_describe_type_from_name
(
const
char
*
name
);
BELLESIP_EXPORT
void
*
belle_sip_object_cast
(
belle_sip_object_t
*
obj
,
belle_sip_type_id_t
id
,
const
char
*
castname
,
const
char
*
file
,
int
fileno
);
...
...
tester/belle_sip_tester.c
View file @
7dd2e9ff
...
...
@@ -320,7 +320,7 @@ void helper(const char *name) {
return -1; \
}
#if
ndef
WINAPI_FAMILY_P
HONE_APP
#if WINAPI_FAMILY_P
ARTITION(WINAPI_PARTITION_DESKTOP)
int
main
(
int
argc
,
char
*
argv
[])
{
int
i
;
...
...
tester/parse.c
View file @
7dd2e9ff
...
...
@@ -22,7 +22,11 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#if WIN32
#define strcasecmp _stricmp
#else
#include <unistd.h>
#endif
#include <string.h>
#include "belle-sip/belle-sip.h"
...
...
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