android: Replace AndroidConfigLocal.h with a header in utils/compat

This commit is contained in:
Tobias Brunner
2015-11-12 14:10:33 +01:00
parent 85af8400df
commit 9be6b2e0b5
4 changed files with 16 additions and 5 deletions
+31
View File
@@ -0,0 +1,31 @@
/*
* Copyright (C) 2010 Tobias Brunner
* Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
/**
* @defgroup android android
* @{ @ingroup compat
*/
#ifndef ANDROID_H_
#define ANDROID_H_
/* stuff defined in AndroidConfig.h, which is included using the -include
* command-line option, thus cannot be undefined using -U CFLAGS options.
* the reason we have to undefine these flags in the first place, is that
* AndroidConfig.h defines them as 0, which in turn means that they are
* actually defined. */
#undef HAVE_BACKTRACE
#endif /** ANDROID_H_ @}*/
+3
View File
@@ -56,6 +56,9 @@
#ifdef __APPLE__
# include "compat/apple.h"
#endif
#ifdef __ANDROID__
# include "compat/android.h"
#endif
/**
* Initialize utility functions