title: Breakpad not building on ubuntu x64 for android
body: <p>I am trying to build breakpad using android ndk. </p>
  
  <p>If I follow <a href="https://github.com/ashtom/breakapp" rel="nofollow"><strong>these instructions</strong></a>:
  i take this error on bottom.</p>
  
  <p>Same error if i attach breakpad to my cocos2d-x project. Looks like it is ndk build problem. </p>
  
  <p>1 time build mysteriously succeed, but i can't reproduce this.</p>
  
  <p>My os are ubuntu 15x64,
  android-sdk_r24.3.3-linux
  android-ndk-r10e</p>
  
  <pre><code>/pr/breakapp$ ndk-build
  Android NDK: WARNING: APP_PLATFORM android-17 is larger than android:minSdkVersion 8 in ./AndroidManifest.xml    
  [armeabi] Compile++ thumb: native &lt;= native.cpp
  [armeabi] Compile++ arm  : breakpad_client &lt;= crash_generation_client.cc
  [armeabi] Compile++ arm  : breakpad_client &lt;= exception_handler.cc
  [armeabi] Compile++ arm  : breakpad_client &lt;= minidump_descriptor.cc
  [armeabi] Compile++ arm  : breakpad_client &lt;= log.cc
  [armeabi] Compile++ arm  : breakpad_client &lt;= linux_dumper.cc
  jni/../../breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/linux_dumper.cc: In member function 'void google_breakpad::LinuxDumper::ParseLoadedElfProgramHeaders(Elf32_Ehdr*, uintptr_t, uintptr_t*, uintptr_t*, size_t*)':
  jni/../../breakpad/android/google_breakpad/../../src/client/linux/minidump_writer/linux_dumper.cc:437:30: error: 'UINTPTR_MAX' was not declared in this scope
     const uintptr_t max_addr = UINTPTR_MAX;
                                ^
  make: *** [obj/local/armeabi/objs/breakpad_client/src/client/linux/minidump_writer/linux_dumper.o] Error 1
  </code></pre>