Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
belle-sip
Commits
2786469d
Commit
2786469d
authored
Mar 31, 2016
by
François Grisez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makes BelleSip headers compliant with C++ 98 and older
parent
e038e196
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/belle-sip/mainloop.h
include/belle-sip/mainloop.h
+1
-1
include/belle-sip/sip-uri.h
include/belle-sip/sip-uri.h
+1
-1
No files found.
include/belle-sip/mainloop.h
View file @
2786469d
...
...
@@ -148,7 +148,7 @@ BELLE_SIP_END_DECLS
#ifndef BELLE_SIP_USE_STL
#define BELLE_SIP_USE_STL 1
#endif
#if
defined(
__cplusplus
)
&& BELLE_SIP_USE_STL
#if __cplusplus
>= 201103L
&& BELLE_SIP_USE_STL
#include <functional>
typedef
std
::
function
<
int
(
unsigned
int
)
>
belle_sip_source_cpp_func_t
;
BELLESIP_EXPORT
inline
int
belle_sip_source_cpp_func
(
belle_sip_source_cpp_func_t
*
user_data
,
unsigned
int
events
)
...
...
include/belle-sip/sip-uri.h
View file @
2786469d
...
...
@@ -223,7 +223,7 @@ BELLE_SIP_END_DECLS
#define BELLE_SIP_USE_STL 1
#endif
#if
defined(
__cplusplus
)
&& BELLE_SIP_USE_STL
#if __cplusplus
>= 201103L
&& BELLE_SIP_USE_STL
#include <ostream>
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
__os
,
const
belle_sip_uri_t
*
uri
)
...
...
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