This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
bcg729
mirror of
https://github.com/BelledonneCommunications/bcg729
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
8
Wiki
Activity
Browse Source
Fix visibility issues when compiling with mingw32.
pull/1/head
Ghislain MARY
12 years ago
parent
31a89d7d95
commit
ed04a86611
4 changed files
with
12 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+10
-0
configure.ac
+1
-1
include/bcg729/decoder.h
+1
-1
include/bcg729/encoder.h
+0
-2
src/Makefile.am
+ 10
- 0
configure.ac
View File
@ -46,4 +46,14 @@ AC_CONFIG_FILES([
libbcg729.pc
])
case "$target_os" in
*mingw*)
CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501"
;;
*)
CFLAGS="$CFLAGS -fvisibility=hidden"
;;
esac
AC_OUTPUT
+ 1
- 1
include/bcg729/decoder.h
View File
@ -23,7 +23,7 @@
typedef
struct
bcg729DecoderChannelContextStruct_struct
bcg729DecoderChannelContextStruct
;
#
include
<stdint.h>
#
ifdef
_MSC_VER
#
ifdef
WIN32
#
define BCG729_VISIBILITY
#
else
#
define BCG729_VISIBILITY __attribute__ ((visibility ("default")))
+ 1
- 1
include/bcg729/encoder.h
View File
@ -23,7 +23,7 @@
#
include
<stdint.h>
typedef
struct
bcg729EncoderChannelContextStruct_struct
bcg729EncoderChannelContextStruct
;
#
ifdef
_MSC_VER
#
ifdef
WIN32
#
define BCG729_VISIBILITY
#
else
#
define BCG729_VISIBILITY __attribute__ ((visibility ("default")))
+ 0
- 2
src/Makefile.am
View File
@ -27,5 +27,3 @@ libbcg729_la_SOURCES= LP2LSPConversion.c \
libbcg729_la_LDFLAGS
=
-no-undefined
INCLUDES
=
-I
$(
top_srcdir
)
/include
AM_CFLAGS
=
-fvisibility
=
hidden
Write
Preview
Loading…
Cancel
Save