[asterisk-bugs] [JIRA] (ASTERISK-23056) INFINITY and NAN undefined

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Jan 16 09:19:03 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-23056:
------------------------------------

    Reference Notes: 
Adding the following lines to ~/res/res_pjsip/include/res_pjsip_private.h fixes the issue:

[Edit by Rusty Newton - Removed inline patch as per guidelines ]

  was:
Adding the following lines to ~/res/res_pjsip/include/res_pjsip_private.h fixes the issue:
//Workaround:
#ifndef INFINITY
#define INFINITY (1.0/0.0)
#endif 


#ifndef NAN
#define NAN (0.0/0.0)
#endif
#include "asterisk/module.h"


    
> INFINITY and NAN undefined
> --------------------------
>
>                 Key: ASTERISK-23056
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23056
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 12.0.0
>         Environment: Arch Linux 2013.05
>            Reporter: capouch
>            Assignee: capouch
>         Attachments: inf-nan-patch.txt
>
>
> INFINITY and NAN are referenced in various files in res/res_pjsip, but undefined in the Asterisk source tree.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list