-
Notifications
You must be signed in to change notification settings - Fork 8
/
ycmd.patch
20 lines (20 loc) · 871 Bytes
/
ycmd.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/cpp/BoostParts/libs/filesystem/src/operations.cpp b/cpp/BoostParts/libs/filesystem/src/operations.cpp
index 4114e02a..e373eb98 100644
--- a/cpp/BoostParts/libs/filesystem/src/operations.cpp
+++ b/cpp/BoostParts/libs/filesystem/src/operations.cpp
@@ -15,6 +15,7 @@
#define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect,
#endif
#if !defined(__PGI)
+#if !defined(__ANDROID__)
#define __USE_FILE_OFFSET64 // but that is harmless on Windows and on POSIX
// 64-bit systems or on 32-bit systems which don't have files larger
// than can be represented by a traditional POSIX/UNIX off_t type.
@@ -25,6 +26,7 @@
// ensure that they are available to all included headers.
// That is required at least on Solaris, and possibly on other
// systems as well.
+#endif
#else
#define _FILE_OFFSET_BITS 64
#endif