mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	Fix arm neon config for win-arm64 with MSVC
Fixes #398 It adds win-arm64 as an arm64 platform, by using a define which is set to 1 for compilations that target 64-bit ARM processors, otherwise undefined.
This commit is contained in:
		
							parent
							
								
									c3a1d8424c
								
							
						
					
					
						commit
						a1a81cc2ac
					
				@ -174,7 +174,7 @@
 | 
				
			|||||||
#     else /* !defined __ARM_NEON__ */
 | 
					#     else /* !defined __ARM_NEON__ */
 | 
				
			||||||
         /* The 'intrinsics' code simply won't compile without this -mfpu=neon:
 | 
					         /* The 'intrinsics' code simply won't compile without this -mfpu=neon:
 | 
				
			||||||
          */
 | 
					          */
 | 
				
			||||||
#        if !defined(__aarch64__)
 | 
					#        if !defined(__aarch64__) && !defined(_M_ARM64)
 | 
				
			||||||
            /* The assembler code currently does not work on ARM64 */
 | 
					            /* The assembler code currently does not work on ARM64 */
 | 
				
			||||||
#          define PNG_ARM_NEON_IMPLEMENTATION 2
 | 
					#          define PNG_ARM_NEON_IMPLEMENTATION 2
 | 
				
			||||||
#        endif /* __aarch64__ */
 | 
					#        endif /* __aarch64__ */
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user