ares_build.h.dist: enhance non-configure GCC ABI detection logic
authorYang Tse <yangsita@gmail.com>
Sun, 10 Mar 2013 03:50:21 +0000 (04:50 +0100)
committerYang Tse <yangsita@gmail.com>
Sun, 10 Mar 2013 20:28:35 +0000 (21:28 +0100)
commit8f3f059f33a3d02c84bd2631bb257d5a6b83af5f
tree593f18d53d97507ffac2863db1679f707ce65284
parent57203b14df6158f1435ed27af5fc40c7a0dc90c1
ares_build.h.dist: enhance non-configure GCC ABI detection logic

GCC specific adjustments:

- check __ILP32__ before 32 and 64bit processor architectures in
  order to detect ILP32 programming model on 64 bit processors
  which, of course, also support LP64 programming model, when using
  gcc 4.7 or newer.

- keep 32bit processor architecture checks in order to support gcc
  versions older than 4.7 which don't define __ILP32__

- check __LP64__ for gcc 3.3 and newer, while keeping 64bit processor
  architecture checks for older versions which don't define __LP64__
ares_build.h.dist