Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
fd9177dd
Commit
fd9177dd
authored
May 06, 2018
by
Krzysztof Filipek
Browse files
Typo in preprocessor condition
parent
e6b0e8d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zmalloc.c
View file @
fd9177dd
...
@@ -415,7 +415,7 @@ size_t zmalloc_get_memory_size(void) {
...
@@ -415,7 +415,7 @@ size_t zmalloc_get_memory_size(void) {
mib
[
0
]
=
CTL_HW
;
mib
[
0
]
=
CTL_HW
;
#if defined(HW_REALMEM)
#if defined(HW_REALMEM)
mib
[
1
]
=
HW_REALMEM
;
/* FreeBSD. ----------------- */
mib
[
1
]
=
HW_REALMEM
;
/* FreeBSD. ----------------- */
#elif defined(HW_PYSMEM)
#elif defined(HW_P
H
YSMEM)
mib
[
1
]
=
HW_PHYSMEM
;
/* Others. ------------------ */
mib
[
1
]
=
HW_PHYSMEM
;
/* Others. ------------------ */
#endif
#endif
unsigned
int
size
=
0
;
/* 32-bit */
unsigned
int
size
=
0
;
/* 32-bit */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment