mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 16:07:30 +03:00 
			
		
		
		
	Add __SSE4_2__ for MSCC
This commit is contained in:
		
							parent
							
								
									73f76e55c3
								
							
						
					
					
						commit
						910911061f
					
				|  | @ -2,8 +2,13 @@ | |||
|    This macro is set only on x86 and means SSE2 and above including AVX2. */ | ||||
| #if defined(_M_X64) || _M_IX86_FP == 2 | ||||
|     #define __SSE2__ | ||||
|     /* However, Microsoft compiler set __AVX2__ if /arch:AVX2 option is set */ | ||||
|     #ifdef __AVX2__ | ||||
|         #define __SSE4_2__ | ||||
|     #endif | ||||
| #endif | ||||
| 
 | ||||
| /* For better readability */ | ||||
| #ifdef __SSE4_2__ | ||||
|     #define __SSE4__ | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user