mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[master] Use the new PNG_CONVERT_tIME_SUPPORTED macro in pngwrite.c.
This commit is contained in:
		
							parent
							
								
									6dcfbc479d
								
							
						
					
					
						commit
						5d276731e6
					
				@ -423,8 +423,7 @@ png_write_end(png_structp png_ptr, png_infop info_ptr)
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef PNG_WRITE_tIME_SUPPORTED
 | 
					#ifdef PNG_CONVERT_tIME_SUPPORTED
 | 
				
			||||||
#ifndef _WIN32_WCE
 | 
					 | 
				
			||||||
/* "tm" structure is not supported on WindowsCE */
 | 
					/* "tm" structure is not supported on WindowsCE */
 | 
				
			||||||
void PNGAPI
 | 
					void PNGAPI
 | 
				
			||||||
png_convert_from_struct_tm(png_timep ptime, struct tm FAR * ttime)
 | 
					png_convert_from_struct_tm(png_timep ptime, struct tm FAR * ttime)
 | 
				
			||||||
@ -450,7 +449,6 @@ png_convert_from_time_t(png_timep ptime, time_t ttime)
 | 
				
			|||||||
   png_convert_from_struct_tm(ptime, tbuf);
 | 
					   png_convert_from_struct_tm(ptime, tbuf);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Initialize png_ptr structure, and allocate any memory needed */
 | 
					/* Initialize png_ptr structure, and allocate any memory needed */
 | 
				
			||||||
png_structp PNGAPI
 | 
					png_structp PNGAPI
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user