9bbfee387f
Add Interix intptr definitions to internal .h.
13 lines
687 B
Text
13 lines
687 B
Text
$NetBSD: patch-ab,v 1.8 2007/01/30 16:42:21 tv Exp $
|
|
|
|
--- src/makealias.orig 2006-12-02 16:11:26.000000000 -0500
|
|
+++ src/makealias
|
|
@@ -15,7 +15,7 @@ while read name; do
|
|
hattr='__attribute((visibility("hidden")))'
|
|
echo "extern __typeof ($name) $alias $hattr;" >> $HEAD
|
|
echo "#define $name $alias" >> $HEAD
|
|
- grep -l '^'$name'\>' "$SRCDIR"/*.c | head -1 | sed -e 's/^.*\/\([^.]*\)\.c/#ifdef __\1__/' >> $TAIL
|
|
+ grep -l '^'$name'[^A-Za-z0-9_]' "$SRCDIR"/*.c | head -1 | sed -e 's/^.*\/\([^.]*\)\.c/#ifdef __\1__/' >> $TAIL
|
|
echo "#undef $name" >> $TAIL
|
|
cattr='__attribute((alias("'$alias'"), visibility("default")))'
|
|
echo "extern __typeof ($name) $name $cattr;" >> $TAIL
|