mirror of https://github.com/xiph/flac
Only define _XOPEN_SOURCE and __EXTENSIONS__ when necessary
This commit is contained in:
parent
ce18b591a0
commit
32d51aade6
|
@ -176,8 +176,10 @@
|
|||
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#cmakedefine DODEFINE_XOPEN_SOURCE 500
|
||||
#ifdef DODEFINE_XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE DODEFINE_XOPEN_SOURCE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Enable threading extensions on Solaris. */
|
||||
#ifndef _POSIX_PTHREAD_SEMANTICS
|
||||
|
@ -190,8 +192,10 @@
|
|||
/* Enable general extensions on Solaris. */
|
||||
#ifndef __EXTENSIONS__
|
||||
#cmakedefine DODEFINE_EXTENSIONS
|
||||
#ifdef DODEFINE_EXTENSIONS
|
||||
#define __EXTENSIONS__ DODEFINE_EXTENSIONS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Target processor is big endian. */
|
||||
|
|
Loading…
Reference in New Issue