mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Modified for (optional) use of MSL
This commit is contained in:
		
							parent
							
								
									9e1be97ddf
								
							
						
					
					
						commit
						54956722e5
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -11,14 +11,14 @@
 | 
				
			||||||
#include <pascal.h>
 | 
					#include <pascal.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <errno.h>
 | 
				
			||||||
 | 
					#include <string.h>
 | 
				
			||||||
#ifdef __MWERKS__
 | 
					#ifdef __MWERKS__
 | 
				
			||||||
#include "errno_unix.h"
 | 
					#include "errno_unix.h"
 | 
				
			||||||
#include <Strings.h>
 | 
					#include <Strings.h>
 | 
				
			||||||
#define c2pstr C2PStr
 | 
					#define c2pstr C2PStr
 | 
				
			||||||
#define p2cstr P2CStr
 | 
					#define p2cstr P2CStr
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#include <errno.h>
 | 
					 | 
				
			||||||
#include <string.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* We may be able to use a std routine in think, don't know */
 | 
					/* We may be able to use a std routine in think, don't know */
 | 
				
			||||||
unsigned char *Pstring(char *);
 | 
					unsigned char *Pstring(char *);
 | 
				
			||||||
| 
						 | 
					@ -29,8 +29,10 @@ unsigned char *Pstring(char *);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Universal constants: */
 | 
					/* Universal constants: */
 | 
				
			||||||
#define MAXPATH 256
 | 
					#define MAXPATH 256
 | 
				
			||||||
 | 
					#ifndef __MSL__
 | 
				
			||||||
#define TRUE 1
 | 
					#define TRUE 1
 | 
				
			||||||
#define FALSE 0
 | 
					#define FALSE 0
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifndef NULL
 | 
					#ifndef NULL
 | 
				
			||||||
#define NULL 0
 | 
					#define NULL 0
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue