diff options
Diffstat (limited to 'mcon/U/ptrsize.U')
-rw-r--r-- | mcon/U/ptrsize.U | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcon/U/ptrsize.U b/mcon/U/ptrsize.U index 14d2da3..7a903aa 100644 --- a/mcon/U/ptrsize.U +++ b/mcon/U/ptrsize.U @@ -1,12 +1,12 @@ -?RCS: $Id: ptrsize.U,v 3.0.1.1 1994/10/29 16:28:19 ram Exp $ +?RCS: $Id$ ?RCS: -?RCS: Copyright (c) 1991-1993, Raphael Manfredi +?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root -?RCS: of the source tree for dist 3.0. +?RCS: of the source tree for dist 4.0. ?RCS: ?RCS: $Log: ptrsize.U,v $ ?RCS: Revision 3.0.1.1 1994/10/29 16:28:19 ram @@ -35,12 +35,12 @@ case "$ptrsize" in echo "Checking to see how big your pointers are..." >&4 $cat >try.c <<'EOCP' #include <stdio.h> -main() +int main() { printf("%d\n", sizeof(char *)); } EOCP - if $cc $ccflags try.c -o try >/dev/null 2>&1 ; then + if $cc $ccflags -o try try.c >/dev/null 2>&1 ; then dflt=`./try` else dflt='4' |