mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-01 08:52:18 +01:00 
			
		
		
		
	Partial fix for bug #32937, Bogdan Nicula.
2005-12-27 Matthias Clasen <mclasen@redhat.com> Partial fix for bug #32937, Bogdan Nicula. * configure.in: Check for malloc.h * glib/gslice.c: Don't include malloc.h unconditionally.
This commit is contained in:
		
				
					committed by
					
						 Matthias Clasen
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							4a94f2d332
						
					
				
				
					commit
					d947ad7167
				
			| @@ -1,3 +1,10 @@ | ||||
| 2005-12-27  Matthias Clasen  <mclasen@redhat.com> | ||||
|  | ||||
| 	Partial fix for bug #32937, Bogdan Nicula. | ||||
|  | ||||
| 	* configure.in: Check for malloc.h | ||||
| 	* glib/gslice.c: Don't include malloc.h unconditionally. | ||||
|  | ||||
| 2005-12-27  Manish Singh  <yosh@gimp.org> | ||||
|  | ||||
| 	* tests/run-collate-tests.sh: export LC_COLLATE so it takes. | ||||
|   | ||||
| @@ -1,3 +1,10 @@ | ||||
| 2005-12-27  Matthias Clasen  <mclasen@redhat.com> | ||||
|  | ||||
| 	Partial fix for bug #32937, Bogdan Nicula. | ||||
|  | ||||
| 	* configure.in: Check for malloc.h | ||||
| 	* glib/gslice.c: Don't include malloc.h unconditionally. | ||||
|  | ||||
| 2005-12-27  Manish Singh  <yosh@gimp.org> | ||||
|  | ||||
| 	* tests/run-collate-tests.sh: export LC_COLLATE so it takes. | ||||
|   | ||||
| @@ -1,3 +1,10 @@ | ||||
| 2005-12-27  Matthias Clasen  <mclasen@redhat.com> | ||||
|  | ||||
| 	Partial fix for bug #32937, Bogdan Nicula. | ||||
|  | ||||
| 	* configure.in: Check for malloc.h | ||||
| 	* glib/gslice.c: Don't include malloc.h unconditionally. | ||||
|  | ||||
| 2005-12-27  Manish Singh  <yosh@gimp.org> | ||||
|  | ||||
| 	* tests/run-collate-tests.sh: export LC_COLLATE so it takes. | ||||
|   | ||||
| @@ -789,8 +789,9 @@ AM_CONDITIONAL(HAVE_GNUC_VISIBILITY, [test x$g_have_gnuc_visibility = xyes]) | ||||
| AC_C_BIGENDIAN | ||||
|  | ||||
| # check for header files | ||||
| AC_CHECK_HEADERS([dirent.h float.h limits.h pwd.h sys/param.h sys/poll.h sys/select.h sys/types.h]) | ||||
| AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h stdint.h sched.h]) | ||||
| AC_CHECK_HEADERS([dirent.h float.h limits.h pwd.h sys/param.h sys/poll.h]) | ||||
| AC_CHECK_HEADERS([sys/time.h sys/times.h sys/wait.h unistd.h values.h]) | ||||
| AC_CHECK_HEADERS([sys/select.h sys/types.h stdint.h sched.h malloc.h]) | ||||
|  | ||||
| # Checks for libcharset | ||||
| jm_LANGINFO_CODESET | ||||
|   | ||||
| @@ -993,7 +993,9 @@ slab_allocator_free_chunk (gsize    chunk_size, | ||||
| } | ||||
|  | ||||
| /* --- memalign implementation --- */ | ||||
| #ifdef HAVE_MALLOC_H | ||||
| #include <malloc.h>             /* memalign() */ | ||||
| #endif | ||||
|  | ||||
| /* from config.h: | ||||
|  * define HAVE_POSIX_MEMALIGN     1     // if free(posix_memalign(3)) works, <stdlib.h> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user