mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-16 17:41:14 +01:00
libnyquist: Add support for BSD operating systems
Signed-off-by: Sol Fisher Romanoff <sol@solfisher.com>
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
*/
|
||||
#define nyquist_printf printf
|
||||
|
||||
#if __APPLE__ && __GNUC__ /* Mac OS X */
|
||||
/* BSD, macOS and other Unixes */
|
||||
#if __APPLE__ || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#define NEED_ULONG 1
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
|
||||
Reference in New Issue
Block a user