summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/msun/src/math.h4
-rw-r--r--sys/sys/stat.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h
index 0c69f8f..c8e426d 100644
--- a/lib/msun/src/math.h
+++ b/lib/msun/src/math.h
@@ -249,7 +249,7 @@ double log1p(double) __pure2;
* Reentrant version of gamma & lgamma; passes signgam back by reference
* as the second argument; user must allocate space for signgam.
*/
-#ifdef __BSD_VISIBLE
+#if __BSD_VISIBLE
double gamma_r(double, int *);
double lgamma_r(double, int *);
#endif /* __BSD_VISIBLE */
@@ -330,7 +330,7 @@ float log1pf(float) __pure2;
* signgam back by reference as the second argument; user must
* allocate space for signgam.
*/
-#ifdef __BSD_VISIBLE
+#if __BSD_VISIBLE
float gammaf_r(float, int *);
float lgammaf_r(float, int *);
#endif /* __BSD_VISIBLE */
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index 2c830a6..8ccead1 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -100,7 +100,7 @@ typedef __uid_t uid_t;
#include <sys/time.h>
#endif
-#ifndef __BSD_VISIBLE
+#if !__BSD_VISIBLE
#include <sys/_timespec.h>
#endif
OpenPOWER on IntegriCloud