mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-30 19:34:31 -04:00
Fix MacOSX compilation.
This commit is contained in:
parent
7400a8d768
commit
969b5ce1f1
1 changed files with 4 additions and 0 deletions
|
@ -104,7 +104,11 @@ public:
|
|||
w[nwh] = cos(delta * nwh);
|
||||
w[nwh + 1] = w[nwh];
|
||||
for (j = 2; j <= nwh - 2; j += 2) {
|
||||
#ifdef __APPLE__
|
||||
__sincos(delta*j,&y,&x);
|
||||
#else
|
||||
sincos(delta*j,&y,&x) ;
|
||||
#endif
|
||||
//x = cos(delta * j);
|
||||
//y = sin(delta * j);
|
||||
w[j] = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue