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',
|
||||
],
|
||||
'conditions': [
|
||||
['OS!="win"', {
|
||||
'defines': [
|
||||
'WEBRTC_LINUX',
|
||||
],
|
||||
['OS=="linux"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-lm',
|
||||
],
|
||||
'libraries': ['-lm',],
|
||||
},
|
||||
}],
|
||||
],
|
||||
|
@ -15,8 +15,7 @@
|
||||
#include <math.h>
|
||||
#include "typedefs.h"
|
||||
|
||||
// TODO(turaj): switch to WEBRTC_POSIX when available
|
||||
#if defined(WEBRTC_LINUX) || defined(WEBRTC_MAC)
|
||||
#if defined(WEBRTC_POSIX)
|
||||
#define WebRtcIsac_lrint lrint
|
||||
#elif (defined(WEBRTC_ARCH_X86) && defined(WIN32))
|
||||
static __inline long int WebRtcIsac_lrint(double x_dbl) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user