summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDavid Leadbeater <dgl@dgl.cx>2012-08-18 16:44:32 +0100
committerNicholas Clark <nick@ccl4.org>2013-09-10 13:45:27 +0200
commit21e89b5f7274f876bff09798ebcc556906fb70d6 (patch)
treeeedcdd346b25d2254826e395d5b44b2e8b80f8c0 /perl.h
parent57b2427a3baa2694768d34123e2e814ddd9a39ac (diff)
downloadperl-21e89b5f7274f876bff09798ebcc556906fb70d6.tar.gz
Remove PERL_MICRO where it is conditionally used with other defines
There are several cases where PERL_MICRO is used combined with defines not set in uconfig.h, the additional test isn't needed.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl.h b/perl.h
index e3263401db..e50a4cedc9 100644
--- a/perl.h
+++ b/perl.h
@@ -739,11 +739,11 @@ struct op *Perl_op asm(stringify(OP_IN_REGISTER));
# undef _SC_ARG_MAX /* Symbian has _SC_ARG_MAX but no sysconf() */
#endif
-#if defined(HAS_SYSCALL) && !defined(HAS_SYSCALL_PROTO) && !defined(PERL_MICRO)
+#if defined(HAS_SYSCALL) && !defined(HAS_SYSCALL_PROTO)
EXTERN_C int syscall(int, ...);
#endif
-#if defined(HAS_USLEEP) && !defined(HAS_USLEEP_PROTO) && !defined(PERL_MICRO)
+#if defined(HAS_USLEEP) && !defined(HAS_USLEEP_PROTO)
EXTERN_C int usleep(unsigned int);
#endif
@@ -1338,7 +1338,7 @@ EXTERN_C char *crypt(const char *, const char *);
* in the face of half-implementations.)
*/
-#if defined(I_SYSMODE) && !defined(PERL_MICRO)
+#if defined(I_SYSMODE)
#include <sys/mode.h>
#endif
@@ -1936,7 +1936,7 @@ EXTERN_C long double modfl(long double, long double *);
# define Perl_fp_class_zero(x) (Perl_fp_class(x)==FP_CLASS_NZERO||Perl_fp_class(x)==FP_CLASS_PZERO)
#endif
-#if !defined(Perl_fp_class) && defined(HAS_FP_CLASS) && !defined(PERL_MICRO)
+#if !defined(Perl_fp_class) && defined(HAS_FP_CLASS)
# include <math.h>
# if !defined(FP_SNAN) && defined(I_FP_CLASS)
# include <fp_class.h>