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
225f9e3d
Commit
225f9e3d
authored
Oct 16, 2013
by
Simon Morlat
Browse files
fix for belle-sip version on Android
parent
35df0202
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
build/android/Android.mk
build/android/Android.mk
+1
-1
build/android/config.h
build/android/config.h
+1
-1
src/sipstack.c
src/sipstack.c
+4
-0
No files found.
build/android/Android.mk
View file @
225f9e3d
...
...
@@ -26,7 +26,7 @@ LOCAL_MODULE := libbellesip
LOCAL_CFLAGS
+=
\
-DHAVE_CONFIG_H
\
-D
PACKAGE
_VERSION
=
$(BELLESIP_VERSION)
-D
BELLESIP
_VERSION
=
\"
$(BELLESIP_VERSION)
\"
LOCAL_C_INCLUDES
+=
\
$(LOCAL_PATH)
/../../externals/antlr3/runtime/C/include
\
...
...
build/android/config.h
View file @
225f9e3d
...
...
@@ -79,7 +79,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.0.1"
//
#define PACKAGE_VERSION "0.0.1"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
...
...
src/sipstack.c
View file @
225f9e3d
...
...
@@ -189,7 +189,11 @@ void belle_sip_stack_set_dns_user_hosts_file(belle_sip_stack_t *stack, const cha
}
const
char
*
belle_sip_version_to_string
()
{
#ifdef BELLESIP_VERSION
return
BELLESIP_VERSION
;
#else
return
PACKAGE_VERSION
;
#endif
}
int
belle_sip_stack_get_inactive_transport_timeout
(
const
belle_sip_stack_t
*
stack
){
...
...
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