FreeRDP/winpr
Ondrej Holy 6d2ab9cc47 winpr: Fix 64-bit architecture detection
The current definitions wrongly assume the only 64-bit architecture is
x86_64. Use the __ILP64__, __LP64__ and __LLP64__ to correctly define
the size of a long and of pointer.

The patch is needed for platforms such as ppc64, or s360x, otherwise
you can see following warnings:
warning: cast from pointer to integer of different size

The patch is modification of debian downstream patch:
http://anonscm.debian.org/cgit/collab-maint/freerdp.git/tree/debian/patches/1004_64-bit-architectures.patch

Original author is Aurelien Jarno probably.

https://github.com/FreeRDP/FreeRDP/issues/2520
2016-05-30 13:37:15 +02:00
..
include winpr: Fix 64-bit architecture detection 2016-05-30 13:37:15 +02:00
libwinpr fix segfaults casused by size_t format specifier 2016-05-27 15:55:28 +02:00
test winpr: fixed HRESULT & SCODE types, added a ctest 2015-06-02 19:52:52 +02:00
tools Add library libwinpr-tools 2016-05-03 14:42:08 +02:00
.gitignore Add library libwinpr-tools 2016-05-03 14:42:08 +02:00
CMakeLists.txt freerdp: more UWP porting 2016-03-29 20:34:52 -04:00
winpr.pc.in First shot on fixing over linking 2016-03-29 18:14:34 +02:00
WinPRConfig.cmake.in build: remove FREERDP_MONOLITHIC_BUILD 2016-01-12 17:32:32 +01:00