From 44a49cb801191cd6e803204aaffe04ab7a65a345 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 4 Jul 2009 15:29:29 +0000 Subject: 2009-07-04 Alfredo Portes * contrib/texmacs: New. --- contrib/texmacs/src/useproto.h | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 contrib/texmacs/src/useproto.h (limited to 'contrib/texmacs/src/useproto.h') diff --git a/contrib/texmacs/src/useproto.h b/contrib/texmacs/src/useproto.h new file mode 100755 index 00000000..ed7f76f8 --- /dev/null +++ b/contrib/texmacs/src/useproto.h @@ -0,0 +1,43 @@ + +/* released under the Modified BSD License */ + +#ifndef _USEPROTO_H_ +#define _USEPROTO_H_ 1 + +#if defined(SGIplatform)||defined(LINUXplatform)||defined(HPplatform) ||defined(RIOSplatform) ||defined(RIOS4platform) || defined(SUN4OS5platform) +#ifdef _NO_PROTO +#undef _NO_PROTO +#endif +#ifndef NeedFunctionPrototypes +#define NeedFunctionPrototypes 1 +#endif +#endif /*SGIplatform ... */ + + +#if defined(ALPHAplatform) +#ifdef __STDC__ + +#ifdef _NO_PROTO +#undef _NO_PROTO +#endif +#ifndef NeedFunctionPrototypes +#define NeedFunctionPrototypes 1 +#endif + +#else + +#define _NO_PROTO +#undef NeedFunctionPrototypes + +#endif +#endif /* ALPHA */ + + + +#ifdef SUNplatform +#define _NO_PROTO +#define const +#endif + +#endif /* _USEPROTO_H_ */ + -- cgit v1.2.3