| 
									
										
										
										
											1995-02-18 14:50:12 +00:00
										 |  |  | /* On the 68K Mac, when using CFM (Code Fragment Manager),
 | 
					
						
							|  |  |  |    <math.h> requires special treatment -- we need to surround it with | 
					
						
							|  |  |  |    #pragma lib_export off / on...
 | 
					
						
							|  |  |  |    This is because MathLib.o is a static library, and exporting its | 
					
						
							|  |  |  |    symbols doesn't quite work... | 
					
						
							|  |  |  |    XXX Not sure now...  Seems to be something else going on as well... */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1995-06-27 13:12:09 +00:00
										 |  |  | #ifdef SYMANTEC__CFM68K__
 | 
					
						
							| 
									
										
										
										
											1995-02-18 14:50:12 +00:00
										 |  |  | #pragma lib_export off
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <math.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											1995-06-27 13:12:09 +00:00
										 |  |  | #ifdef SYMANTEC__CFM68K__
 | 
					
						
							| 
									
										
										
										
											1995-02-18 14:50:12 +00:00
										 |  |  | #pragma lib_export on
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											1996-07-30 16:55:08 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #if defined(HAVE_HYPOT)
 | 
					
						
							|  |  |  | /* Defined in <math.h> */ | 
					
						
							|  |  |  | #else
 | 
					
						
							| 
									
										
										
										
											1996-08-08 18:44:36 +00:00
										 |  |  | extern double hypot Py_PROTO((double, double)); /* defined in mathmodule.c */ | 
					
						
							| 
									
										
										
										
											1996-07-30 16:55:08 +00:00
										 |  |  | #endif
 |