]> granicus.if.org Git - openjpeg/commitdiff
[trunk] fix definition of _FILE_OFFSET_BITS macro on platform where it is needed
authorJulien Malik <julien.malik@paraiso.me>
Mon, 28 Nov 2011 15:32:33 +0000 (15:32 +0000)
committerJulien Malik <julien.malik@paraiso.me>
Mon, 28 Nov 2011 15:32:33 +0000 (15:32 +0000)
CMake/TestLargeFiles.c.cmake.in
opj_config.h.cmake.in

index 8269103206c8e2cdfd8d422b155f67be42d4c5f5..a6bc499653bca5ff0c05764f4d9e8be7b6bf8939 100644 (file)
@@ -1,7 +1,7 @@
 #cmakedefine _LARGEFILE_SOURCE
 #cmakedefine _LARGEFILE64_SOURCE
 #cmakedefine _LARGE_FILES
-#cmakedefine _FILE_OFFSET_BITS 
+#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
 
 #include <sys/types.h>
 #include <stdio.h>
index ce12dedebbed47815b19e9f6e6d65186bd276113..7bfe9141aee9a8523a2113248ca03ce9e3b810a9 100644 (file)
@@ -18,7 +18,7 @@
 #cmakedefine _LARGEFILE_SOURCE
 #cmakedefine _LARGEFILE64_SOURCE
 #cmakedefine _LARGE_FILES
-#cmakedefine _FILE_OFFSET_BITS
+#cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@
 #cmakedefine HAVE_FSEEKO
 #cmakedefine HAVE__FSEEKI64