Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 977d4e5e authored by Nick Kralevich's avatar Nick Kralevich Committed by Tim Schumacher
Browse files

AndroidConfig.h: ensure HAVE_MALLOC_H always has a value.

Some programs (cough sqlite cough) do an improper check to see if
HAVE_MALLOC_H is defined. Instead of defining it with no value,
define it with a value so those checks pass.

Needed for bug: 20099586

Change-Id: I4c293b2c1b5f4caad85ffc1fc34ac385bab23f5c
parent 981b3a47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@
/*
 * Define if we have <malloc.h> header
 */
/* #define HAVE_MALLOC_H */
/* #define HAVE_MALLOC_H 1 */

/*
 * Define if tm struct has tm_gmtoff field
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@
/*
 * Define if we have <malloc.h> header
 */
#define HAVE_MALLOC_H
#define HAVE_MALLOC_H 1

/* 
 * Define if we're running on *our* linux on device or emulator.
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@
/*
 * Define if we have <malloc.h> header
 */
#define HAVE_MALLOC_H
#define HAVE_MALLOC_H 1

/*
 * Define if we're running on *our* linux on device or emulator.
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@
/*
 * Define if we have <malloc.h> header
 */
#define HAVE_MALLOC_H
#define HAVE_MALLOC_H 1

/*
 * Define if we have Linux-style non-filesystem Unix Domain Sockets
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@
/*
 * Define if we have <malloc.h> header
 */
#define HAVE_MALLOC_H
#define HAVE_MALLOC_H 1

/* 
 * Define if we're running on *our* linux on device or emulator.