mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-31 13:24:13 +02:00
Move single-include guards inside include guards
gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __G_HMAC_H__
|
||||
#define __G_HMAC_H__
|
||||
|
||||
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
|
||||
#error "Only <glib.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#ifndef __G_HMAC_H__
|
||||
#define __G_HMAC_H__
|
||||
|
||||
#include <glib/gtypes.h>
|
||||
#include "gchecksum.h"
|
||||
|
||||
|
Reference in New Issue
Block a user