Debian Codegraph @

COSMIC/HDR/setproto.h

raw
1 /* <setproto.h>: determine if prototype using or not
2 * Authors: Charles E. Campbell, Jr.
3 * Terry McRoberts
4 * Copyright: Copyright (C) 1999-2005 Charles E. Campbell, Jr. {{{1
5 * Permission is hereby granted to use and distribute this code,
6 * with or without modifications, provided that this copyright
7 * notice is copied with it. Like anything else that's free,
8 * sockets.h is provided *as is* and comes with no warranty
9 * of any kind, either expressed or implied. By using this
10 * software, you agree that in no event will the copyright
11 * holder be liable for any damages resulting from the use
12 * of this software.
13 * Date: Aug 22, 2005
14 */
15 #ifndef SETPROTO_H
16 # define SETPROTO_H
17
18 /* --------------------------------------------------------------------- */
19
20 # ifndef __PROTOTYPE__
21
22 # ifdef vms
23 # ifndef oldvms
24 # define __PROTOTYPE__
25 # endif
26
27 # else
28
29 # if defined(sgi) || defined(apollo) || defined(__STDC__) || \
30 defined(MCH_AMIGA) || defined(_AIX) || defined(__MSDOS__) || \
31 defined(ultrix) || defined(__DECC) || defined(__alpha) || \
32 defined(__osf__) || defined(__WIN32__) || defined(__linux__) || \
33 defined(_MSC_VER) || defined(os2) || defined(AS400)
34 # define __PROTOTYPE__
35 # endif
36 # endif
37 # endif
38
39 /* --------------------------------------------------------------------- */
40
41 #endif /* SETPROTO_H */