From a7476aec82a90b571e306345e9d29f1f56ac0b5b Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 11 Feb 2013 14:22:42 +0100 Subject: [PATCH] lists.h, text.h: update code guard name from __HAVE_DEFINED_BOOL__ to PETIDOMO_HAS_DEFINED_BOOL User names must not have a leading underscore. I made that change in petidomo.h recently, but forgot to update those header files as well. --- NEWS | 4 +++- liblists/lists.h | 4 ++-- libtext/text.h | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 8831c03..b869977 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,9 @@ #+TITLE: Petidomo Mailing List Server -*- mode:org;fill-column:79; -*- #+STARTUP: showall -* Noteworthy changes in release ?.? (????-??-??) [?] +* Noteworthy changes in release 4.3 (2013-02-11) [stable] + + Fix build error on FreeBSD. * Noteworthy changes in release 4.2 (2013-02-09) [stable] diff --git a/liblists/lists.h b/liblists/lists.h index 655fa5b..6643552 100644 --- a/liblists/lists.h +++ b/liblists/lists.h @@ -30,8 +30,8 @@ /********** Useful defines and declarations **********/ #ifndef __cplusplus -#ifndef __HAVE_DEFINED_BOOL__ -# define __HAVE_DEFINED_BOOL__ 1 +#ifndef PETIDOMO_HAS_DEFINED_BOOL +# define PETIDOMO_HAS_DEFINED_BOOL 1 typedef int bool; #endif #ifndef FALSE diff --git a/libtext/text.h b/libtext/text.h index 8cc2ac0..a258c79 100644 --- a/libtext/text.h +++ b/libtext/text.h @@ -34,8 +34,8 @@ extern "C" { /********** Useful defines and declarations **********/ #ifndef __cplusplus -#ifndef __HAVE_DEFINED_BOOL__ -# define __HAVE_DEFINED_BOOL__ 1 +#ifndef PETIDOMO_HAS_DEFINED_BOOL +# define PETIDOMO_HAS_DEFINED_BOOL 1 typedef int bool; #endif