Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d134f252 authored by Stephen Hines's avatar Stephen Hines
Browse files

Fix a preprocessor warning exposed by -Wundef.

Bug: 18589470

__LP64__ is only defined for 64-bit compilation targets, so this macro
is evaluated as an implicit 0 in the original case. This change makes
it explicit that we only care whether this is actually defined.

Change-Id: I8c11b41fc0bde9477c5efeea0782d9741d9d827d
parent 7dcbc563
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -44,7 +44,7 @@
 * agree on the same size.  For desktop systems, use 64-bit values,
 * agree on the same size.  For desktop systems, use 64-bit values,
 * because some of our libraries (e.g. wxWidgets) expect to be built that way.
 * because some of our libraries (e.g. wxWidgets) expect to be built that way.
 */
 */
#if __LP64__
#if defined(__LP64__)
#define _FILE_OFFSET_BITS 64
#define _FILE_OFFSET_BITS 64
#endif
#endif