]>
git.gir.st - ttxd.git/blob - src/vtx2ascii-src/misc.h
1 #ifndef MISC_H_INCLUDED
2 #define MISC_H_INCLUDED
4 /* $Id: misc.h,v 1.1 1996/10/14 21:37:00 mb Exp mb $
6 * Copyright (c) 1994-96 Martin Buck <martin-2.buck@student.uni-ulm.de>
7 * Read COPYING for more information
13 #define VTXVERSION "0.6.970815"
14 #define VTXNAME "videotext"
15 #define VTXCLASS "Videotext"
16 #define VTXWINNAME "VideoteXt"
23 #define MIN(a, b) ((a) < (b) ? (a) : (b))
24 #define MAX(a, b) ((a) > (b) ? (a) : (b))
26 #define SIGN(a) ((a) < 0 ? -1 : ((a) > 0 ? 1 : 0))
27 #define STRINGIFY_NOMACRO(str) #str
28 #define STRINGIFY(str) STRINGIFY_NOMACRO(str)
29 #define NELEM(a) (sizeof(a) / sizeof(*(a)))
36 /* It's unbelievable that some systems are unable to provide the most basic ANSI-C features */
38 #define INT_MAX 2147483647
41 #endif /* MISC_H_INCLUDED */