Only use -lm on Linux in ISAC.
Remove unneeded WEBRTC_LINUX define. BUG=crbug.com/298656 TESTED=Passed trybots. R=wjia@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2313004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4865 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
287f07b174
commit
137b3793d9
@ -74,14 +74,9 @@
|
|||||||
'os_specific_inline.h',
|
'os_specific_inline.h',
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS!="win"', {
|
['OS=="linux"', {
|
||||||
'defines': [
|
|
||||||
'WEBRTC_LINUX',
|
|
||||||
],
|
|
||||||
'link_settings': {
|
'link_settings': {
|
||||||
'libraries': [
|
'libraries': ['-lm',],
|
||||||
'-lm',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
|
@ -15,8 +15,7 @@
|
|||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
|
|
||||||
// TODO(turaj): switch to WEBRTC_POSIX when available
|
#if defined(WEBRTC_POSIX)
|
||||||
#if defined(WEBRTC_LINUX) || defined(WEBRTC_MAC)
|
|
||||||
#define WebRtcIsac_lrint lrint
|
#define WebRtcIsac_lrint lrint
|
||||||
#elif (defined(WEBRTC_ARCH_X86) && defined(WIN32))
|
#elif (defined(WEBRTC_ARCH_X86) && defined(WIN32))
|
||||||
static __inline long int WebRtcIsac_lrint(double x_dbl) {
|
static __inline long int WebRtcIsac_lrint(double x_dbl) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user