[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PROBLEM: NTFS routine fs/ntfs/unistr.c does not compile
Hi Harald,

> [1.] NTFS routine fs/ntfs/unistr.c does not compile
> [2.] NTFS routine fs/ntfs/unistr.c does not compile: the macro
> min(a,b,c) is not defined.


> Comparison with Linux 2.4.7 revealed that
> 1. the pertaining line in unistr.c has changed from 2.4.7 to 2.4.9
> 2. the macro definition in file fs/ntfs/macros.h for macro min()
> has been dropped

Actually all the min/max macros have (finally) been moved to kernel.h.

> The solution was straight forward: add the (three-parameter) macro
> definition from include/linux/kernel.h to fs/ntfs/macros.h
> The patch is added below

The correct solution is to add the following to unistr.c:

#include <linux/kernel.h>

FlatCap (Rich)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.042 / U:1.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site