]> git.eshelyaron.com Git - emacs.git/commitdiff
Correct reference to DARWIN_OS preprocessor symbol
authorJohn Wiegley <johnw@newartisans.com>
Sun, 31 Jan 2016 05:34:32 +0000 (21:34 -0800)
committerJohn Wiegley <johnw@newartisans.com>
Sun, 31 Jan 2016 05:34:32 +0000 (21:34 -0800)
* src/alloc.c: Correct a preprocessor reference to DARWIN_OS, which may
  not be defined.

src/alloc.c

index 5f74d9061e5d93585ea59dd1cfa228066fb46304..6c6c1aade8e540af226f680d296b267a2bb72b91 100644 (file)
@@ -1108,7 +1108,7 @@ lisp_free (void *block)
    clang 3.3 anyway.  Aligned allocation is incompatible with
    unexmacosx.c, so don't use it on Darwin.  */
 
-#if ! ADDRESS_SANITIZER && ! DARWIN_OS
+#if ! ADDRESS_SANITIZER && !defined DARWIN_OS
 # if !defined SYSTEM_MALLOC && !defined DOUG_LEA_MALLOC && !defined HYBRID_MALLOC
 #  define USE_ALIGNED_ALLOC 1
 #  ifndef HAVE_ALIGNED_ALLOC