File: config-win32.h

package info (click to toggle)
ftnchek 3.3.1-5
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 8,484 kB
  • ctags: 5,960
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 896; lisp: 322; f90: 118; perl: 76
file content (35 lines) | stat: -rw-r--r-- 1,071 bytes parent folder | download | duplicates (4)
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
/* config.h for some Windows-32 compilers.  This works for Borland
   C/C++ Builder 5.0 and Microsoft Visual C++ 6.0.
*/

		/* These sizeofs are used in determining what kind of
		   int is needed to have enough bits to hold a flag
		   field.  It is OK for the sizes defined here to be
		   smaller than the true sizes: at worst it will just
		   use more space than necessary.  The generic version
		   uses values of 2, 4, 4 which should work fine on all
		   recent-vintage 32-bit machines.  */

#define SIZEOF_SHORT	2
#define SIZEOF_INT	4
#define SIZEOF_LONG	4

		/* If unistd.h exists, use it to declare unlink in ftnchek.c */
#define HAVE_UNISTD_H	0

		/* If stdlib.h exists, use it to declare malloc and friends */
#define HAVE_STDLIB_H	1


		/* Either memset or bzero is needed in forlex.c: memset
		   is preferred.
		 */
#define HAVE_MEMSET	1
#define HAVE_BZERO	0

		/* Some compilers don't have strcasecmp but have stricmp
		   or strcmpi instead.  Set up suitable defines here.
		*/
#define HAVE_STRCASECMP		0
#define HAVE_STRICMP		1
#define HAVE_STRCMPI		1