mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
include: make direct includion of _sd-common.h harder
This commit is contained in:
parent
16ed0233a5
commit
fd1b903adb
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
/* This is a private header, never even think of including this directly! */
|
/* This is a private header, never even think of including this directly! */
|
||||||
|
|
||||||
|
#if __INCLUDE_LEVEL__ <= 1
|
||||||
|
#error "Do not include _sd-common.h directly, it is a private header."
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _sd_printf_
|
#ifndef _sd_printf_
|
||||||
# if __GNUC__ >= 4
|
# if __GNUC__ >= 4
|
||||||
# define _sd_printf_(a,b) __attribute__ ((format (printf, a, b)))
|
# define _sd_printf_(a,b) __attribute__ ((format (printf, a, b)))
|
||||||
|
Loading…
Reference in New Issue
Block a user