mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-19 20:12:10 +02: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 "config.h"
|
||||||
|
|
||||||
|
#include "gslice.h"
|
||||||
|
|
||||||
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
|
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
|
||||||
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
|
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -24,10 +24,6 @@
|
|||||||
#ifndef __G_SLICE_H__
|
#ifndef __G_SLICE_H__
|
||||||
#define __G_SLICE_H__
|
#define __G_SLICE_H__
|
||||||
|
|
||||||
#ifndef __G_MEM_H__
|
|
||||||
#error Include <glib.h> instead of <gslice.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <glib/gtypes.h>
|
#include <glib/gtypes.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user