mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Remove redudant check for direct #include gslice.h
This was added before we had a standardised header check and not removed when the standard check was added.
This commit is contained in:
parent
0a1ce31b6e
commit
b9d728474e
@ -20,6 +20,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "gslice.h"
|
||||
|
||||
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
|
||||
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
|
||||
#endif
|
||||
|
@ -24,10 +24,6 @@
|
||||
#ifndef __G_SLICE_H__
|
||||
#define __G_SLICE_H__
|
||||
|
||||
#ifndef __G_MEM_H__
|
||||
#error Include <glib.h> instead of <gslice.h>
|
||||
#endif
|
||||
|
||||
#include <glib/gtypes.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user