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:
committed by
Martin Baulig
parent
ce52ba2dbe
commit
8a25330615
@@ -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>
|
1999-02-04 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* include/glibtop/global.h (_): Use dgettext (), not gettext ().
|
* include/glibtop/global.h (_): Use dgettext (), not gettext ().
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
#ifndef __GLIBTOP_GLOBAL_H__
|
#ifndef __GLIBTOP_GLOBAL_H__
|
||||||
#define __GLIBTOP_GLOBAL_H__
|
#define __GLIBTOP_GLOBAL_H__
|
||||||
|
|
||||||
|
#ifdef _IN_LIBGTOP
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
/* __BEGIN_DECLS should be used at the beginning of your declarations,
|
/* __BEGIN_DECLS should be used at the beginning of your declarations,
|
||||||
@@ -51,8 +53,6 @@
|
|||||||
# define __P(protos) ()
|
# define __P(protos) ()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _IN_LIBGTOP
|
|
||||||
|
|
||||||
/* Provide macros to feature the GCC function attribute.
|
/* Provide macros to feature the GCC function attribute.
|
||||||
*/
|
*/
|
||||||
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
|
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
|
||||||
@@ -131,6 +131,8 @@
|
|||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
#ifdef _IN_LIBGTOP
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
#define _(String) dgettext (PACKAGE, String)
|
#define _(String) dgettext (PACKAGE, String)
|
||||||
#define N_(String) (String)
|
#define N_(String) (String)
|
||||||
@@ -140,6 +142,8 @@ __BEGIN_DECLS
|
|||||||
extern char *strerror __P((int));
|
extern char *strerror __P((int));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* _IN_LIBGTOP */
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user