diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/xlint/xlint/xlint.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index 5e3b0fd..a341861 100644 --- a/usr.bin/xlint/xlint/xlint.c +++ b/usr.bin/xlint/xlint/xlint.c @@ -284,12 +284,6 @@ usage() terminate(-1); } -/* Transform the value of a preprocessor symbol to a string, by using - ANSI features of the preprocessor. STRINGIZEINT() is for internal - use. */ -#define STRINGIZEINT(a) #a -#define STRINGIZE(a) STRINGIZEINT(a) - int main(argc, argv) int argc; @@ -332,7 +326,7 @@ main(argc, argv) appcstrg(&cppflags, "-C"); appcstrg(&cppflags, "-Wcomment"); #ifdef __FreeBSD__ - appcstrg(&cppflags, "-D__FreeBSD__=" STRINGIZE(__FreeBSD__)); + appcstrg(&cppflags, "-D__FreeBSD__=" __XSTRING(__FreeBSD__)); #else # error "This ain't NetBSD. You lose!" appcstrg(&cppflags, "-D__NetBSD__"); |