diff options
Diffstat (limited to 'mcon/U/ssizetype.U')
-rw-r--r-- | mcon/U/ssizetype.U | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcon/U/ssizetype.U b/mcon/U/ssizetype.U index 8b68ba2..70dcc69 100644 --- a/mcon/U/ssizetype.U +++ b/mcon/U/ssizetype.U @@ -1,12 +1,12 @@ -?RCS: $Id: ssizetype.U,v 3.0.1.3 1997/02/28 16:24:21 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: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu> ?RCS: @@ -40,7 +40,7 @@ ?C:. ?H:#define SSize_t $ssizetype /* signed count of bytes */ ?H:. -?F:!ssize.out +?F:!ssize.out !ssize : see what type is used for signed size_t set ssize_t ssizetype int stdio.h sys/types.h eval $typedef @@ -51,7 +51,7 @@ $cat > ssize.c <<EOM #include <sys/types.h> #define Size_t $sizetype #define SSize_t $dflt -main() +int main() { if (sizeof(Size_t) == sizeof(SSize_t)) printf("$dflt\n"); |