diff options
Diffstat (limited to 'mcon/U/d_sanemcmp.U')
-rw-r--r-- | mcon/U/d_sanemcmp.U | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mcon/U/d_sanemcmp.U b/mcon/U/d_sanemcmp.U index 7198242..07d1f84 100644 --- a/mcon/U/d_sanemcmp.U +++ b/mcon/U/d_sanemcmp.U @@ -1,12 +1,12 @@ -?RCS: $Id: d_sanemcmp.U,v 3.0.1.1 1997/02/28 15:41: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: d_sanemcmp.U,v $ ?RCS: Revision 3.0.1.1 1997/02/28 15:41:19 ram @@ -60,7 +60,7 @@ EOCP #ifdef I_UNISTD # include <unistd.h> /* Needed for NetBSD */ #endif -main() +int main() { char a = -1; char b = 0; @@ -69,8 +69,8 @@ if ((a < b) && memcmp(&a, &b, 1) < 0) exit(0); } EOCP - if $cc $optimize $ccflags $ldflags foo.c \ - -o sanemcmp $libs >/dev/null 2>&1; then + if $cc $optimize $ccflags $ldflags \ + -o sanemcmp foo.c $libs >/dev/null 2>&1; then if ./sanemcmp 2>/dev/null; then echo "Yes, it can." val="$define" |