Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!prls!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP Newsgroups: comp.lang.c Subject: Re: Standard int sizes Message-ID: <761@mcgill-vision.UUCP> Date: Thu, 7-May-87 04:26:15 EDT Article-I.D.: mcgill-v.761 Posted: Thu May 7 04:26:15 1987 Date-Received: Thu, 14-May-87 01:32:54 EDT References: <6759@brl-adm.ARPA> <230@ems.UUCP> <170@vianet.UUCP> <764@hoqax.UUCP> <4632@utcsri.UUCP> Organization: McGill University, Montreal Lines: 30 In article <4632@utcsri.UUCP>, flaps@utcsri.UUCP writes: > So what that "#define INTPTR int *" doesn't work? The original > author never claimed it did! "#define int16 int" works fine! Until you want to shadow it: typedef int int16; foo() { typedef struct foo int16; .... } works, but #define int16 int foo() { typedef struct foo int16; .... } doesn't. > In fact, 4.2bsd stdio.h contains "#define FILE struct _iobuf" (and so > do many other stdio.h's, I believe). I know. I consider it a bug, or at best a misfeature. der Mouse (mouse@mcgill-vision.uucp)