diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2011-08-16 23:28:42 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2011-08-16 23:29:27 +0400 |
commit | 7e13ad25c64c97bc871098c99293f3281c6e7591 (patch) | |
tree | bc2dd530ea8eb14ffd9275ae8b83431099cdb552 /eglib | |
parent | de77bb2e500f7eccd2a3b27770d5d0fe07bc698b (diff) |
Fix g_log redirection under android.
Diffstat (limited to 'eglib')
-rw-r--r-- | eglib/configure.ac | 1 | ||||
-rw-r--r-- | eglib/src/goutput.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/eglib/configure.ac b/eglib/configure.ac index 791a9f760b7..75c7a15f137 100644 --- a/eglib/configure.ac +++ b/eglib/configure.ac @@ -62,6 +62,7 @@ case $host in ;; *-*-linux-android*) platform_android=yes + AC_DEFINE(PLATFORM_ANDROID,1,[Targeting the Android platform]) PATHSEP='/' SEARCHSEP=':' OS="UNIX" diff --git a/eglib/src/goutput.c b/eglib/src/goutput.c index 4bf9696bec8..a42740a3303 100644 --- a/eglib/src/goutput.c +++ b/eglib/src/goutput.c @@ -24,6 +24,7 @@ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#include <config.h> #include <stdio.h> #include <stdlib.h> #include <glib.h> |