]> granicus.if.org Git - curl/commit
curlbuild.h.dist: check __LP64__ as well to fix MIPS build
authorDaniel Stenberg <daniel@haxx.se>
Wed, 18 May 2016 12:10:36 +0000 (14:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 18 May 2016 12:10:36 +0000 (14:10 +0200)
commit63e1f060a267c8355fa8d24b8b9af149c620893f
tree15fe97098471e57017fca0f4d4a4af52a2380de7
parent125827e60ee98a6d42567a2418e50ab738ba2a5a
curlbuild.h.dist: check __LP64__ as well to fix MIPS build

The preprocessor check that sets up the 32bit defines for non-configure
builds didn't work properly for MIPS systems as __mips__ is defined for
both 32bit and 64bit. Now __LP64__ is also checked and indicates 64bit.

Reported-by: Tomas Jakobsson
Fixes #813
include/curl/curlbuild.h.dist