mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Make GNUC-compatible compilers use the right mbedtls_t_udbl again on Aarch64 builds.
This commit is contained in:
		
							parent
							
								
									cc1871e674
								
							
						
					
					
						commit
						05cff953c9
					
				@ -129,7 +129,8 @@
 | 
			
		||||
        defined(__ppc64__) || defined(__powerpc64__)  || \
 | 
			
		||||
        defined(__ia64__)  || defined(__alpha__)      || \
 | 
			
		||||
        ( defined(__sparc__) && defined(__arch64__) ) || \
 | 
			
		||||
        defined(__s390x__) || defined(__mips64) )
 | 
			
		||||
        defined(__s390x__) || defined(__mips64)       || \
 | 
			
		||||
        defined(__aarch64__) )
 | 
			
		||||
        #if !defined(MBEDTLS_HAVE_INT64)
 | 
			
		||||
            #define MBEDTLS_HAVE_INT64
 | 
			
		||||
        #endif /* MBEDTLS_HAVE_INT64 */
 | 
			
		||||
@ -140,8 +141,9 @@
 | 
			
		||||
            typedef unsigned int mbedtls_t_udbl __attribute__((mode(TI)));
 | 
			
		||||
            #define MBEDTLS_HAVE_UDBL
 | 
			
		||||
        #endif /* !MBEDTLS_NO_UDBL_DIVISION */
 | 
			
		||||
    #elif defined(__aarch64__)
 | 
			
		||||
    #elif defined(__ARMCC_VERSION) && defined(__aarch64__)
 | 
			
		||||
        /*
 | 
			
		||||
         * __ARMCC_VERSION is defined for both armcc and armclang and
 | 
			
		||||
         * __aarch64__ is only defined by armclang when compiling 64-bit code
 | 
			
		||||
         */
 | 
			
		||||
        #if !defined(MBEDTLS_HAVE_INT64)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user