| 
									
										
										
										
											1995-08-08 14:11:07 +00:00
										 |  |  | /* Return a string representing the compiler name */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef THINK_C
 | 
					
						
							|  |  |  | #define COMPILER " [THINK C]"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef __MWERKS__
 | 
					
						
							| 
									
										
										
										
											1996-02-14 16:02:30 +00:00
										 |  |  | #ifdef USE_GUSI
 | 
					
						
							|  |  |  | #define HASGUSI " w/GUSI"
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #define HASGUSI ""
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											1995-08-08 14:11:07 +00:00
										 |  |  | #ifdef __powerc
 | 
					
						
							| 
									
										
										
										
											1996-02-14 16:02:30 +00:00
										 |  |  | #define COMPILER " [CW PPC" HASGUSI "]"
 | 
					
						
							| 
									
										
										
										
											1995-08-08 14:11:07 +00:00
										 |  |  | #else
 | 
					
						
							| 
									
										
										
										
											1995-08-14 12:30:15 +00:00
										 |  |  | #ifdef __CFM68K__
 | 
					
						
							| 
									
										
										
										
											1996-02-14 16:02:30 +00:00
										 |  |  | #define COMPILER " [CW CFM68K" HASGUSI "]"
 | 
					
						
							| 
									
										
										
										
											1995-08-14 12:30:15 +00:00
										 |  |  | #else
 | 
					
						
							| 
									
										
										
										
											1996-02-14 16:02:30 +00:00
										 |  |  | #define COMPILER " [CW 68K" HASGUSI "]"
 | 
					
						
							| 
									
										
										
										
											1995-08-08 14:11:07 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											1995-08-14 12:30:15 +00:00
										 |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											1995-08-08 14:11:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifdef MPW
 | 
					
						
							|  |  |  | #ifdef __SC__
 | 
					
						
							|  |  |  | #define COMPILER " [Symantec MPW]"
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #define COMPILER " [Apple MPW]"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | char * | 
					
						
							|  |  |  | getcompiler() | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | 	return COMPILER; | 
					
						
							|  |  |  | } |