aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf_post.h
diff options
context:
space:
mode:
authorPaul Eggert2014-01-20 08:55:28 -0800
committerPaul Eggert2014-01-20 08:55:28 -0800
commit009581fa6558c0ed4f804e7fecdc652ec3532810 (patch)
tree72ee808fb816066bdb59b9de553be74f5dec0da1 /src/conf_post.h
parent3c35702fe921254340ad949ce3cab0b668788c90 (diff)
downloademacs-009581fa6558c0ed4f804e7fecdc652ec3532810.tar.gz
emacs-009581fa6558c0ed4f804e7fecdc652ec3532810.zip
Apply previous change even if valgrind is not in use, since it avoids undefined behavior. This is simpler.
Diffstat (limited to 'src/conf_post.h')
-rw-r--r--src/conf_post.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index cdb2f973c2b..7419b53c5df 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -65,15 +65,6 @@ typedef bool bool_bf;
65# define ADDRESS_SANITIZER false 65# define ADDRESS_SANITIZER false
66#endif 66#endif
67 67
68/* True if Emacs might be run under valgrind. */
69#ifndef USE_VALGRIND
70# if defined ENABLE_CHECKING && defined HAVE_VALGRIND_VALGRIND_H
71# define USE_VALGRIND true
72# else
73# define USE_VALGRIND false
74# endif
75#endif
76
77#ifdef DARWIN_OS 68#ifdef DARWIN_OS
78#ifdef emacs 69#ifdef emacs
79#define malloc unexec_malloc 70#define malloc unexec_malloc