Fix preprocessor syntax
Rafael Garcia-Suarez [Wed, 27 Feb 2008 09:06:47 +0000 (09:06 +0000)]
p4raw-id: //depot/perl@33380

perl.h

diff --git a/perl.h b/perl.h
index aec1e26..736d365 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -4073,9 +4073,11 @@ struct perl_memory_debug_header {
 
 #ifdef MYMALLOC
 #  define Perl_safesysmalloc_size(where)       Perl_malloced_size(where)
-#else if defined(HAS_MALLOC_SIZE)
-#  define Perl_safesysmalloc_size(where)                       \
-       (malloc_size(((char *)(where)) - sTHX) - sTHX)
+#else
+#   ifdef HAS_MALLOC_SIZE
+#      define Perl_safesysmalloc_size(where)                   \
+           (malloc_size(((char *)(where)) - sTHX) - sTHX)
+#   endif
 #endif
 
 typedef int (CPERLscope(*runops_proc_t)) (pTHX);