ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mpeg_encode/src/ansi.h
Revision: 22
Committed: Mon Jul 7 22:16:37 2008 UTC (11 years, 3 months ago) by wdelano
File size: 2255 byte(s)
Log Message:
initial checkin of mpeg_encode source
Line File contents
1 /*===========================================================================*
2 * ansi.h *
3 * *
4 * macro for non-ansi compilers *
5 * *
6 *===========================================================================*/
7
8 /*
9 * Copyright (c) 1995 The Regents of the University of California.
10 * All rights reserved.
11 *
12 * Permission to use, copy, modify, and distribute this software and its
13 * documentation for any purpose, without fee, and without written agreement is
14 * hereby granted, provided that the above copyright notice and the following
15 * two paragraphs appear in all copies of this software.
16 *
17 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
18 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
19 * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
20 * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21 *
22 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
23 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
24 * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
25 * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
26 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
27 */
28
29 /*
30 * $Header: /n/picasso/project/mpeg/mpeg_dist/mpeg_encode/headers/RCS/ansi.h,v 1.6 1995/08/15 23:43:13 smoot Exp $
31 * $Log: ansi.h,v $
32 * Revision 1.6 1995/08/15 23:43:13 smoot
33 * *** empty log message ***
34 *
35 * Revision 1.5 1995/01/19 23:54:35 eyhung
36 * Changed copyrights
37 *
38 * Revision 1.4 1994/11/12 02:12:13 keving
39 * nothing
40 *
41 * Revision 1.3 1993/07/22 22:24:23 keving
42 * nothing
43 *
44 * Revision 1.2 1993/07/09 00:17:23 keving
45 * nothing
46 *
47 * Revision 1.1 1993/06/14 22:50:22 keving
48 * nothing
49 *
50 */
51
52
53 #ifndef ANSI_INCLUDED
54 #define ANSI_INCLUDED
55
56
57 /*
58 * _ANSI_ARGS_ macro stolen from Tcl6.5 by John Ousterhout
59 */
60 #undef _ANSI_ARGS_
61 #undef const
62 #ifdef NON_ANSI_COMPILER
63 #define _ANSI_ARGS_(x) ()
64 #define CONST
65 #else
66 #define _ANSI_ARGS_(x) x
67 #define CONST const
68 #ifdef __cplusplus
69 #define VARARGS (...)
70 #else
71 #define VARARGS ()
72 #endif
73 #endif
74
75
76 #endif /* ANSI_INCLUDED */