diff options
Diffstat (limited to 'tools/bison++/conflict.cc')
-rw-r--r-- | tools/bison++/conflict.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bison++/conflict.cc b/tools/bison++/conflict.cc index a8989b776..8a3cd4902 100644 --- a/tools/bison++/conflict.cc +++ b/tools/bison++/conflict.cc @@ -46,7 +46,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif /* ndef alloca */ #else /* not msdos */ +#ifdef _MSC_VER +#include <malloc.h> +#define alloca _alloca +#else char *alloca (); +#endif #endif /* msdos ? */ |