Timo Teräs schrieb:
> walter harms wrote:
>>
>> #if LINUX_VERSION_CODE <KERNEL_VERSION(2,6,7)
>> #define CODE1  RCTL_ADD_BRIDGE: BRCTL_DEL_BRIDGE
>> #else
>> #define  CODE1       SIOCBRADDBR : SIOCBRDELBR,
>> #endif
>>
> 
> Why not just in the beginning:
> 
> #if LINUX_VERSION_CODE < ...
> #define BRCTL_ADD_BRIDGE SIOCBRADDBR
> #define BRCTL_DEL_BRIDGE SIOCBRDELBR
> #endif
> 


redefines of sys defines ? ok, but maybe this is sufficent

#ifndef BRCTL_ADD_BRIDGE
#define BRCTL_ADD_BRIDGE SIOCBRADDBR
#define BRCTL_DEL_BRIDGE SIOCBRDELBR
#endif


_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to