Changeset 22345


Ignore:
Timestamp:
2010-07-22T04:59:14+02:00 (6 years ago)
Author:
jow
Message:

[tools] yaffs2: fix compilation on FreeBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/yaffs2/patches/100-compile.patch

    r14567 r22345  
    113113        error =  write_object_header(1, YAFFS_OBJECT_TYPE_DIRECTORY, &stats, 1,"", -1, NULL); 
    114114        if(error) 
     115--- a/yaffs2/devextras.h 
     116+++ b/yaffs2/devextras.h 
     117@@ -37,7 +37,7 @@ typedef unsigned char __u8; 
     118 typedef unsigned short __u16; 
     119 typedef unsigned __u32; 
     120  
     121-#if defined(__APPLE__) 
     122+#if defined(__APPLE__) || defined(__FreeBSD__) 
     123 typedef long long loff_t; 
     124 #endif 
     125  
Note: See TracChangeset for help on using the changeset viewer.