Enclose some of the stuff in this file in `#ifdef _IN_LIBGTOP'.

1999-02-05  Martin Baulig  <martin@home-of-linux.org>

	* include/glibtop/global.h: Enclose some of the stuff in this
	file in `#ifdef _IN_LIBGTOP'.
This commit is contained in:
Martin Baulig
1999-02-05 11:12:57 +00:00
committed by Martin Baulig
parent ce52ba2dbe
commit 8a25330615
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
1999-02-05 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/global.h: Enclose some of the stuff in this
file in `#ifdef _IN_LIBGTOP'.
1999-02-04 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/global.h (_): Use dgettext (), not gettext ().

View File

@@ -22,6 +22,8 @@
#ifndef __GLIBTOP_GLOBAL_H__
#define __GLIBTOP_GLOBAL_H__
#ifdef _IN_LIBGTOP
#include <config.h>
/* __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