mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng15] Use memcpy instead of CopyMemory in the definition of png_memcpy.
The Borland C++ build breaks otherwise (Cosmin).
This commit is contained in:
		
							parent
							
								
									5310158c37
								
							
						
					
					
						commit
						7852e7786b
					
				
							
								
								
									
										2
									
								
								ANNOUNCE
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ANNOUNCE
									
									
									
									
									
								
							@ -44,6 +44,8 @@ Version 1.5.20rc02 [November 14, 2014]
 | 
				
			|||||||
    similarly-named macros are already defined in makefiles. This behavior
 | 
					    similarly-named macros are already defined in makefiles. This behavior
 | 
				
			||||||
    is different from POSIX make and other make programs.  Surround the
 | 
					    is different from POSIX make and other make programs.  Surround the
 | 
				
			||||||
    macro definitions with ifndef guards (Cosmin).
 | 
					    macro definitions with ifndef guards (Cosmin).
 | 
				
			||||||
 | 
					  Use memcpy instead of CopyMemory in the definition of png_memcpy.
 | 
				
			||||||
 | 
					    The Borland C++ build breaks otherwise (Cosmin).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 | 
					Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 | 
				
			||||||
(subscription required; visit
 | 
					(subscription required; visit
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										6
									
								
								CHANGES
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								CHANGES
									
									
									
									
									
								
							@ -4259,10 +4259,12 @@ Version 1.5.20beta02 [November 10, 2014]
 | 
				
			|||||||
Version 1.5.20rc01 [November 13, 2014]
 | 
					Version 1.5.20rc01 [November 13, 2014]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Version 1.5.20rc02 [November 14, 2014]
 | 
					Version 1.5.20rc02 [November 14, 2014]
 | 
				
			||||||
  The macros passed in the command line to Borland make are ignored if
 | 
					  The macros passed in the command line to Borland make were ignored if
 | 
				
			||||||
    similarly-named macros are already defined in makefiles. This behavior
 | 
					    similarly-named macros were already defined in makefiles. This behavior
 | 
				
			||||||
    is different from POSIX make and other make programs.  Surround the
 | 
					    is different from POSIX make and other make programs.  Surround the
 | 
				
			||||||
    macro definitions with ifndef guards (Cosmin).
 | 
					    macro definitions with ifndef guards (Cosmin).
 | 
				
			||||||
 | 
					  Use memcpy instead of CopyMemory in the definition of png_memcpy.
 | 
				
			||||||
 | 
					    The Borland C++ build breaks otherwise (Cosmin).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 | 
					Send comments/corrections/commendations to png-mng-implement at lists.sf.net
 | 
				
			||||||
(subscription required; visit
 | 
					(subscription required; visit
 | 
				
			||||||
 | 
				
			|||||||
@ -418,7 +418,7 @@
 | 
				
			|||||||
#    define CVT_PTR_NOCHECK(ptr) (ptr)
 | 
					#    define CVT_PTR_NOCHECK(ptr) (ptr)
 | 
				
			||||||
#    define png_strlen  lstrlenA
 | 
					#    define png_strlen  lstrlenA
 | 
				
			||||||
#    define png_memcmp  memcmp
 | 
					#    define png_memcmp  memcmp
 | 
				
			||||||
#    define png_memcpy  CopyMemory
 | 
					#    define png_memcpy  memcpy
 | 
				
			||||||
#    define png_memset  memset
 | 
					#    define png_memset  memset
 | 
				
			||||||
#  else
 | 
					#  else
 | 
				
			||||||
#    define CVT_PTR(ptr)         (ptr)
 | 
					#    define CVT_PTR(ptr)         (ptr)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user