[SCM] Lisaac compiler branch, lib_os_64, updated. lisaac-0.12-615-g8439926

cyrano “nicolas at boulay.name”
Wed Dec 23 13:23:49 UTC 2009


The following commit has been merged in the lib_os_64 branch:
commit 843992640501dbcb40ca85712a57a98e0b966de7
Author: cyrano <“nicolas at boulay.name”>
Date:   Wed Dec 23 14:15:30 2009 +0100

    cleaning of file_unix.li

diff --git a/lib/internal/os_support/unix/file_system/file_unix.li b/lib/internal/os_support/unix/file_system/file_unix.li
index 90f7ed6..d3a208a 100644
--- a/lib/internal/os_support/unix/file_system/file_unix.li
+++ b/lib/internal/os_support/unix/file_system/file_unix.li
@@ -25,11 +25,14 @@ Section Header
   - copyright   := "2003-2005 Jérome Boutet, 2003-2007 Benoit Sonntag, 2009 Nicolas Boulay";
   
   - comment := "File management";
+  
+ // 
+ // "getconf LFS_CFLAGS" for 64 bits off_t file offset is needed in the compiler command line to have:
+ // -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+ // 
+ 
   - external := `
  /*FILE_UNIX*/ 
- /*from "getconf LFS_CFLAGS" for 64 bits off_t file offset*/
-#define _LARGEFILE_SOURCE 
-#define _FILE_OFFSET_BITS 64 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list