1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 14:05:03 -05:00
curl/include/curl
Cédric Deltheil bedfafe38e curl.h: add __ANDROID__ macro check
When working with the Android Standalone Toolchain the compiler defines
this macro:

  /path/to/arm-linux-androideabi-gcc -E -dM - < /dev/null \
  | grep -i android
  #define __ANDROID__ 1

We really need to check both ANDROID and __ANDROID__ since I've observed
that:

* if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla
way), ANDROID is predefined (see -DANDROID extra C flag),

* if you use the Android Standalone Toolchain, then __ANDROID__ is
predefined as stated by the compiler
2011-12-20 20:18:14 +01:00
..
.gitignore ignore files generated by 'maketgz' 2010-04-14 17:12:34 +02:00
curl.h curl.h: add __ANDROID__ macro check 2011-12-20 20:18:14 +01:00
curlbuild.h.cmake CMake fixes for Linux. 2010-03-24 14:07:18 -04:00
curlbuild.h.dist remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
curlbuild.h.in include: cleanup 2011-05-09 10:20:31 +02:00
curlrules.h build: allow usage of Borland 5.5.1 external preprocessor cpp32 2011-01-12 02:33:39 +01:00
curlver.h 7.24.0: start the work 2011-11-15 20:44:49 +01:00
easy.h Fix spelling errors in include/ 2011-04-21 07:55:53 -07:00
Makefile.am include: cleanup 2011-05-09 10:20:31 +02:00
mprintf.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
multi.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
stdcheaders.h remove the CVSish $Id$ lines 2010-03-24 11:02:54 +01:00
typecheck-gcc.h typecheck: allow NULL to unset CURLOPT_ERRORBUFFER 2011-10-15 23:59:22 +02:00