Fixed recently introduced build problems on some platforms

This commit is contained in:
Andrey Kamaev
2012-06-08 06:19:17 +00:00
parent f62028dc16
commit 79df8db76f
6 changed files with 49 additions and 11 deletions

View File

@@ -410,7 +410,7 @@ typedef uLong FAR uLongf;
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
* equivalently requesting no 64-bit operations
*/
#if -_LARGEFILE64_SOURCE - -1 == 1
#if defined _LARGEFILE64_SOURCE && -_LARGEFILE64_SOURCE - -1 == 1
# undef _LARGEFILE64_SOURCE
#endif