mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	add comment explaining why #define and not typedef
This commit is contained in:
		
							parent
							
								
									e9cfe4b6a2
								
							
						
					
					
						commit
						c2527348ec
					
				| 
						 | 
					@ -39,6 +39,9 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#else /* WIN */
 | 
					#else /* WIN */
 | 
				
			||||||
/* For System that are not Windows, we'll need to define these. */
 | 
					/* For System that are not Windows, we'll need to define these. */
 | 
				
			||||||
 | 
					/* We have to define them instead of using typedef because the JPEG lib also
 | 
				
			||||||
 | 
					   defines their own types with the same names, so we need to be able to undef
 | 
				
			||||||
 | 
					   ours before including the JPEG code. */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if SIZEOF_SHORT == 2
 | 
					#if SIZEOF_SHORT == 2
 | 
				
			||||||
#define INT16 short
 | 
					#define INT16 short
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user