summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/perl.h b/perl.h
index 97c5f931ca..ffc1704924 100644
--- a/perl.h
+++ b/perl.h
@@ -768,11 +768,13 @@ char *strcpy(), *strcat();
# endif
#endif
-#if !defined(HAS_FMOD) && defined(HAS_DREM)
-#define fmod(x,y) drem((x),(y))
-#else
-#define USE_MY_FMOD
-#define fmod(x,y) my_fmod(x,y)
+#ifndef HAS_FMOD
+# ifdef HAS_DREM
+# define fmod(x,y) drem((x),(y))
+# else
+# define USE_MY_FMOD
+# define fmod(x,y) my_fmod(x,y)
+# endif
#endif
#ifndef __cplusplus