Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/eglib
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2011-08-16 23:28:42 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2011-08-16 23:29:27 +0400
commit7e13ad25c64c97bc871098c99293f3281c6e7591 (patch)
treebc2dd530ea8eb14ffd9275ae8b83431099cdb552 /eglib
parentde77bb2e500f7eccd2a3b27770d5d0fe07bc698b (diff)
Fix g_log redirection under android.
Diffstat (limited to 'eglib')
-rw-r--r--eglib/configure.ac1
-rw-r--r--eglib/src/goutput.c1
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>