mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
libxml.h: Don't include stdio.h
This commit is contained in:
parent
924ed82735
commit
60d457be30
@ -14,6 +14,8 @@
|
|||||||
#include "libxml.h"
|
#include "libxml.h"
|
||||||
#include <libxml/chvalid.h>
|
#include <libxml/chvalid.h>
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The initial tables ({func_name}_tab) are used to validate whether a
|
* The initial tables ({func_name}_tab) are used to validate whether a
|
||||||
* single-byte character is within the specified group. Each table
|
* single-byte character is within the specified group. Each table
|
||||||
|
@ -279,6 +279,8 @@ output.write(
|
|||||||
#include "libxml.h"
|
#include "libxml.h"
|
||||||
#include <libxml/chvalid.h>
|
#include <libxml/chvalid.h>
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The initial tables ({func_name}_tab) are used to validate whether a
|
* The initial tables ({func_name}_tab) are used to validate whether a
|
||||||
* single-byte character is within the specified group. Each table
|
* single-byte character is within the specified group. Each table
|
||||||
|
10
libxml.h
10
libxml.h
@ -34,15 +34,7 @@
|
|||||||
#define SYSCONFDIR "/etc"
|
#define SYSCONFDIR "/etc"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WITH_TRIO
|
#ifdef WITH_TRIO
|
||||||
#include <stdio.h>
|
|
||||||
#else
|
|
||||||
/**
|
|
||||||
* TRIO_REPLACE_STDIO:
|
|
||||||
*
|
|
||||||
* This macro is defined if the trio string formatting functions are to
|
|
||||||
* be used instead of the default stdio ones.
|
|
||||||
*/
|
|
||||||
#define TRIO_REPLACE_STDIO
|
#define TRIO_REPLACE_STDIO
|
||||||
#include "trio.h"
|
#include "trio.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user