Mercurial > hg > xemacs-beta
comparison lib-src/etags.c @ 272:c5d627a313b1 r21-0b34
Import from CVS: tag r21-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:28:48 +0200 |
parents | eb5470882647 |
children | 6330739388db |
comparison
equal
deleted
inserted
replaced
271:c7b7086b0a39 | 272:c5d627a313b1 |
---|---|
30 * | 30 * |
31 * Francesco Potorti` (F.Potorti@cnuce.cnr.it) is the current maintainer. | 31 * Francesco Potorti` (F.Potorti@cnuce.cnr.it) is the current maintainer. |
32 */ | 32 */ |
33 | 33 |
34 char pot_etags_version[] = "@(#) pot revision number is 12.28"; | 34 char pot_etags_version[] = "@(#) pot revision number is 12.28"; |
35 | |
36 /* Prototyping magic snarfed from gmalloc.c */ | |
37 #if defined (__cplusplus) || defined (__STDC__) | |
38 #undef PP | |
39 #define PP(args) args | |
40 #undef __ptr_t | |
41 #define __ptr_t void * | |
42 #else /* Not C++ or ANSI C. */ | |
43 #undef PP | |
44 #define PP(args) () | |
45 #undef const | |
46 #define const | |
47 #undef __ptr_t | |
48 #define __ptr_t char * | |
49 #endif /* C++ or ANSI C. */ | |
50 | |
51 #ifdef HAVE_CONFIG_H | |
52 # include <config.h> | |
53 /* On some systems, Emacs defines static as nothing for the sake | |
54 of unexec. We don't want that here since we don't use unexec. */ | |
55 # undef static | |
56 # define ETAGS_REGEXPS /* use the regexp features */ | |
57 # define LONG_OPTIONS /* accept long options */ | |
58 #endif /* HAVE_CONFIG_H */ | |
35 | 59 |
36 #define TRUE 1 | 60 #define TRUE 1 |
37 #define FALSE 0 | 61 #define FALSE 0 |
38 | 62 |
39 #ifndef DEBUG | 63 #ifndef DEBUG |
61 # else | 85 # else |
62 # define DOS_NT | 86 # define DOS_NT |
63 # define HAVE_GETCWD | 87 # define HAVE_GETCWD |
64 # endif /* not HAVE_CONFIG_H */ | 88 # endif /* not HAVE_CONFIG_H */ |
65 #endif /* WINDOWSNT */ | 89 #endif /* WINDOWSNT */ |
66 | |
67 #ifdef HAVE_CONFIG_H | |
68 # include <config.h> | |
69 /* On some systems, Emacs defines static as nothing for the sake | |
70 of unexec. We don't want that here since we don't use unexec. */ | |
71 # undef static | |
72 # define ETAGS_REGEXPS /* use the regexp features */ | |
73 # define LONG_OPTIONS /* accept long options */ | |
74 #endif /* HAVE_CONFIG_H */ | |
75 | |
76 /* Prototyping magic snarfed from gmalloc.c */ | |
77 #if defined (__cplusplus) || (defined (__STDC__) && __STDC__) || defined (__SUNPRO_C) | |
78 #undef PP | |
79 #define PP(args) args | |
80 #undef __ptr_t | |
81 #define __ptr_t void * | |
82 #else /* Not C++ or ANSI C. */ | |
83 #undef PP | |
84 #define PP(args) () | |
85 #undef const | |
86 #define const | |
87 #undef __ptr_t | |
88 #define __ptr_t char * | |
89 #endif /* C++ or ANSI C. */ | |
90 | |
91 | 90 |
92 #if !defined (WINDOWSNT) && defined (STDC_HEADERS) | 91 #if !defined (WINDOWSNT) && defined (STDC_HEADERS) |
93 #include <stdlib.h> | 92 #include <stdlib.h> |
94 #include <string.h> | 93 #include <string.h> |
95 #endif | 94 #endif |