Fix -Wundef with GCC 6.2.1 in wtypes.h
Undefined preprocessor macro in wtypes.h produces: warning: "__ILP64__" is not defined [-Wundef] This causes unnecessary hassle to people who compile their FreeRDP-based applications with -Werror.
This commit is contained in:
parent
2b9165466d
commit
831c3fb374
@ -84,7 +84,7 @@
|
||||
#endif
|
||||
|
||||
#if WINPR_HAVE_STDINT_H
|
||||
#if __ILP64__ || __LP64__
|
||||
#if defined(__ILP64__) || defined(__LP64__)
|
||||
#define __int3264 int64_t
|
||||
#define __uint3264 uint64_t
|
||||
#else
|
||||
@ -92,7 +92,7 @@
|
||||
#define __uint3264 uint32_t
|
||||
#endif
|
||||
#else
|
||||
#if __ILP64__ || __LP64__
|
||||
#if defined(__ILP64__) || defined(__LP64__)
|
||||
#define __int3264 __int64
|
||||
#define __uint3264 __uint64
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user