diff options
author | dos-reis <gdr@axiomatics.org> | 2009-07-04 15:29:29 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-07-04 15:29:29 +0000 |
commit | 44a49cb801191cd6e803204aaffe04ab7a65a345 (patch) | |
tree | a90e6644218d0c25afcabdedeb7c7acc39129c47 /contrib/texmacs/src/useproto.h | |
parent | 8a4f74e2a21557463176766306120b13fa80e457 (diff) | |
download | open-axiom-44a49cb801191cd6e803204aaffe04ab7a65a345.tar.gz |
2009-07-04 Alfredo Portes <doyenatccny@gmail.com>
* contrib/texmacs: New.
Diffstat (limited to 'contrib/texmacs/src/useproto.h')
-rwxr-xr-x | contrib/texmacs/src/useproto.h | 43 |
1 files changed, 43 insertions, 0 deletions
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_ */
+
|