Mercurial > almixer_isolated
diff ALmixer.c @ 69:be97ae4f30c0
Changed use of ANDROID_NDK to __ANDROID__ since it seems to be standard.
Running this dumps the #defines for me:
/usr/local/bin/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-cpp -dM /dev/null
(Instructions found from http://annoyingtechnicaldetails.wordpress.com/2012/02/01/which-macros-does-the-android-ndk-gcc-define/)
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Wed, 20 Jun 2012 10:32:41 -0700 |
parents | 8063b19bd40e |
children | 32757e494675 |
line wrap: on
line diff
--- a/ALmixer.c Wed Jun 20 10:30:47 2012 -0700 +++ b/ALmixer.c Wed Jun 20 10:32:41 2012 -0700 @@ -62,7 +62,7 @@ */ #include "LinkedList.h" -#ifdef ANDROID_NDK +#ifdef __ANDROID__ #undef fprintf #include <android/log.h> #define fprintf(stderr, ...) __android_log_print(ANDROID_LOG_INFO, "ALmixer", __VA_ARGS__)