[Python-checkins] CVS: python/dist/src/Modules getpath.c,1.36,1.37

Martin v. L?wis loewis@users.sourceforge.net
Wed, 08 Aug 2001 03:28:08 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv31287/Modules

Modified Files:
	getpath.c 
Log Message:
Put conditional S_ISDIR definition(s) into pyport.h.


Index: getpath.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/getpath.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** getpath.c	2001/07/23 16:30:27	1.36
--- getpath.c	2001/08/08 10:28:06	1.37
***************
*** 6,10 ****
  
  #include <sys/types.h>
- #include <sys/stat.h>
  #include <string.h>
  
--- 6,9 ----
***************
*** 138,149 ****
  }
  
- 
- #ifndef S_ISREG
- #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)
- #endif
- 
- #ifndef S_ISDIR
- #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
- #endif
  
  static int
--- 137,140 ----