Changeset 1251:07369caecd6b in roaraudio


Ignore:
Timestamp:
02/27/09 00:04:04 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for ROAR_NEED_GNU_SOURCE and ROAR_NEED_BSD_VISIBLE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/roaraudio.h

    r1098 r1251  
    3333                                  // so we can define well known standard types known to everyone 
    3434                                  // and everywhere but win32 here 
     35 
     36// consts we need to set depending on the OS and features: 
     37#if defined(ROAR_NEED_GNU_SOURCE) && !defined(_GNU_SOURCE) 
     38#define _GNU_SOURCE 
     39#endif 
     40 
     41#if defined(ROAR_NEED_BSD_VISIBLE) && !defined(__BSD_VISIBLE) 
     42#define __BSD_VISIBLE 1 
     43#endif 
    3544 
    3645#include <stdlib.h> 
Note: See TracChangeset for help on using the changeset viewer.