Ticket #3243 (closed defect: fixed)
[with patch; positive review] cygwin -- get it to work on cygwin
|Reported by:||was||Owned by:||mabshoff|
Wrap log2 in a function so it will work in cygwin. In cygwin log2 is a macro:
sh-3.2$ grep log2 *.h math.h:#define log2(x) (log (x) / M_LOG2_E) math.h:#define log2f(x) (logf (x) / (float) M_LOG2_E)
- Summary changed from [with patch; needs review] cygwin -- get it to work on cygwin to [with patch; positive review] cygwin -- get it to work on cygwin
Note: See TracTickets for help on using tickets.