[Patches] Patch to import.c

Trent Mick trentm@activestate.com
Fri, 2 Jun 2000 17:02:38 -0700


On Sat, Jun 03, 2000 at 12:42:56AM +0200, Jack Jansen wrote:
> *** import.c	2000/05/03 23:44:39	2.134
> --- import.c	2000/06/02 13:34:56
> ***************
> *** 60,65 ****
> --- 60,69 ----
>   #endif
>   #ifndef DONT_HAVE_SYS_STAT_H
>   #include <sys/stat.h>
> + #else
> + #ifdef HAVE_STAT_H
> + #include <stat.h>
> + #endif
>   #endif
>   
>   #if defined(PYCC_VACPP)


you could use:

#ifndef something
#elif defined(something_else)
#endif

It would read better.



Trent

-- 
Trent Mick
trentm@activestate.com