projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca7c1a2
)
Fix preprocessor syntax
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 27 Feb 2008 09:06:47 +0000
(09:06 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 27 Feb 2008 09:06:47 +0000
(09:06 +0000)
p4raw-id: //depot/perl@33380
perl.h
patch
|
blob
|
history
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);