aboutsummaryrefslogtreecommitdiff
path: root/contrib/texmacs/src/useproto.h
blob: ed7f76f89623bac97f4cf549bed7c991df31b68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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_ */