mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
* src/acconfig.h: Don't protect config.h against multiple
inclusion. Don't define PARAMS. * src/system.h: Define PARAMS. Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the purpose of config.h. system.h must not try to fix wrong definitions in config.h.
This commit is contained in:
13
acconfig.h
13
acconfig.h
@@ -1,7 +1,3 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
@TOP@
|
||||
|
||||
/* Define as 1 if realloc must be declared even if <stdlib.h> is
|
||||
included. */
|
||||
#undef NEED_DECLARATION_REALLOC
|
||||
@@ -9,12 +5,3 @@
|
||||
/* Define as 1 if calloc must be declared even if <stdlib.h> is
|
||||
included. */
|
||||
#undef NEED_DECLARATION_CALLOC
|
||||
@BOTTOM@
|
||||
|
||||
#if defined(PROTOTYPES) || defined(__cplusplus)
|
||||
# define PARAMS(p) p
|
||||
#else
|
||||
# define PARAMS(p) ()
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user