diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2014-07-08 13:55:12 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2014-07-08 13:55:12 -0700 |
commit | 9fd0f06d3c66c144517d52b1fdd47d7ad4416aac (patch) | |
tree | c448de12dc1423d6a452bbd7f417630a77c8366f /gr-vocoder/lib | |
parent | 3d6dc9c0ddb34d923b55a300bdd1356ce5b9a654 (diff) | |
parent | 63bafe76df583627286e0f20ee74206fd2f0d040 (diff) |
Merge branch 'maint'
Diffstat (limited to 'gr-vocoder/lib')
-rw-r--r-- | gr-vocoder/lib/codec2/fdmdv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gr-vocoder/lib/codec2/fdmdv.c b/gr-vocoder/lib/codec2/fdmdv.c index 6af1cf4c6d..8855f76ae5 100644 --- a/gr-vocoder/lib/codec2/fdmdv.c +++ b/gr-vocoder/lib/codec2/fdmdv.c @@ -25,6 +25,10 @@ along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#ifdef _MSC_VER +#define round(number) number < 0.0 ? ceil(number - 0.5) : floor(number + 0.5) +#endif + /*---------------------------------------------------------------------------*\ INCLUDES |