[sr-dev] git:master:72dc534a: core: mem/dl_malloc - fix preprocessor branch comment

Mikko Lehto mslehto at iki.fi
Mon Jul 3 07:47:32 CEST 2017


Module: kamailio
Branch: master
Commit: 72dc534a91cd7d6cb5c432f7a0e9db9eb8d77c35
URL: https://github.com/kamailio/kamailio/commit/72dc534a91cd7d6cb5c432f7a0e9db9eb8d77c35

Author: Mikko Lehto <mslehto at iki.fi>
Committer: Mikko Lehto <mslehto at iki.fi>
Date: 2017-07-03T08:45:56+03:00

core: mem/dl_malloc - fix preprocessor branch comment

---

Modified: src/core/mem/dl_malloc.c

---

Diff:  https://github.com/kamailio/kamailio/commit/72dc534a91cd7d6cb5c432f7a0e9db9eb8d77c35.diff
Patch: https://github.com/kamailio/kamailio/commit/72dc534a91cd7d6cb5c432f7a0e9db9eb8d77c35.patch

---

diff --git a/src/core/mem/dl_malloc.c b/src/core/mem/dl_malloc.c
index c4b0b21448..8752e5d9da 100644
--- a/src/core/mem/dl_malloc.c
+++ b/src/core/mem/dl_malloc.c
@@ -1192,7 +1192,7 @@ int mspace_mallopt(int, int);
 extern void*     sbrk(ptrdiff_t);
 #endif /* FreeBSD etc */
 #endif /* LACKS_UNISTD_H */
-#endif /* HAVE_MMAP */
+#endif /* HAVE_MORECORE */
 
 #ifndef WIN32
 #ifndef malloc_getpagesize




More information about the sr-dev mailing list