mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2025-07-06 12:36:45 +02:00
Avoid defining __pure2 if already defined
This gets rid of a warning on Mac OS X due to the fact that sys/cdefs.h defines it already.
This commit is contained in:
parent
0df58e7ae3
commit
e836b30cc7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@
|
||||||
* for a given compiler, let the compile fail if it is told to use
|
* for a given compiler, let the compile fail if it is told to use
|
||||||
* a feature that we cannot live without.
|
* a feature that we cannot live without.
|
||||||
*/
|
*/
|
||||||
#if __GNUC_PREREQ__(2, 7) || defined(__INTEL_COMPILER)
|
#if !defined(__pure2) && (__GNUC_PREREQ__(2, 7) || defined(__INTEL_COMPILER))
|
||||||
#define __pure2 __attribute__((__const__))
|
#define __pure2 __attribute__((__const__))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue