From 3598f56f8caea1e7db4e656ac9f90105c03c2d87 Mon Sep 17 00:00:00 2001 From: ocoursiere Date: Thu, 18 Oct 2012 22:21:50 +0000 Subject: [PATCH] Change _FONT_H_ to _FONT_H_P in the bepascal font.h. _FONT_H_ is already used in official Font.h. If not, our class declaration is not parsed... Pointed out by gcc 4. --- bepascal/source/bepascal/cpp/include/be/interface/font.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bepascal/source/bepascal/cpp/include/be/interface/font.h b/bepascal/source/bepascal/cpp/include/be/interface/font.h index fcadc30..438dbd5 100644 --- a/bepascal/source/bepascal/cpp/include/be/interface/font.h +++ b/bepascal/source/bepascal/cpp/include/be/interface/font.h @@ -16,8 +16,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _FONT_H_ -#define _FONT_H_ +#ifndef _FONT_H_P +#define _FONT_H_P #include "Font.h" #include "Rect.h" @@ -30,4 +30,4 @@ class BPFont : public BFont, public BPasObject BPFont(TPasObject PasObject, const BFont &font); }; -#endif _FONT_H_ /* _FONT_H_ */ +#endif _FONT_H_P /* _FONT_H_P */