diff --git a/ChangeLog b/ChangeLog index 8f83dde0..95550dc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-02-05 Martin Baulig + + * include/glibtop/global.h: Enclose some of the stuff in this + file in `#ifdef _IN_LIBGTOP'. + 1999-02-04 Martin Baulig * include/glibtop/global.h (_): Use dgettext (), not gettext (). diff --git a/include/glibtop/global.h b/include/glibtop/global.h index d9d524f4..2b8fc147 100644 --- a/include/glibtop/global.h +++ b/include/glibtop/global.h @@ -22,6 +22,8 @@ #ifndef __GLIBTOP_GLOBAL_H__ #define __GLIBTOP_GLOBAL_H__ +#ifdef _IN_LIBGTOP + #include /* __BEGIN_DECLS should be used at the beginning of your declarations, @@ -51,8 +53,6 @@ # define __P(protos) () #endif -#ifdef _IN_LIBGTOP - /* Provide macros to feature the GCC function attribute. */ #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) @@ -131,6 +131,8 @@ __BEGIN_DECLS +#ifdef _IN_LIBGTOP + #ifndef _ #define _(String) dgettext (PACKAGE, String) #define N_(String) (String) @@ -140,6 +142,8 @@ __BEGIN_DECLS extern char *strerror __P((int)); #endif +#endif /* _IN_LIBGTOP */ + __END_DECLS #endif