mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	SF patch 473749 compile under OS/2 VA C++, from Michael Muller.
Changes enabling Python to compile under OS/2 Visual Age C++.
This commit is contained in:
		
							parent
							
								
									c44403995e
								
							
						
					
					
						commit
						603c6831d0
					
				
					 7 changed files with 68 additions and 36 deletions
				
			
		|  | @ -567,7 +567,11 @@ builtin_execfile(PyObject *self, PyObject *args) | |||
| #ifndef RISCOS | ||||
| 	if (!stat(filename, &s)) { | ||||
| 		if (S_ISDIR(s.st_mode)) | ||||
| #if defined(PYOS_OS2) && defined(PYCC_VACPP) | ||||
| 			errno = EOS2ERR; | ||||
| #else | ||||
| 			errno = EISDIR; | ||||
| #endif | ||||
| 		else | ||||
| 			exists = 1; | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Peters
						Tim Peters