mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Fix g_array_append_val compilation on Windows
This commit is contained in:
		
				
					committed by
					
						
						Philip Withnall
					
				
			
			
				
	
			
			
			
						parent
						
							abd76e0286
						
					
				
				
					commit
					85d9fb8e6c
				
			@@ -64,7 +64,7 @@ struct _GPtrArray
 | 
			
		||||
 * order by moving the last element to the position of the removed.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#if defined (glib_typeof) && GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_76
 | 
			
		||||
#if defined (glib_typeof) && GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_76 && defined (__GNUC__)
 | 
			
		||||
  #define g_array_append_val(a, v)                   \
 | 
			
		||||
    (G_GNUC_EXTENSION ({                             \
 | 
			
		||||
      glib_typeof ((v)) gaa_val_ = (v);              \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user