Unverified Commit e8d4cc42 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

use different header for alloca(3) on *BSD

parent fa2a6d7c
Loading
Loading
Loading
Loading
+7 −1
Changes for lib/atc/Function.cpp: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
#ifndef _WIN32
#if !defined(_WIN32)

#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__NetBSD__)
#include <cstdlib>
#else
#include <alloca.h>
#endif

#endif
#include "Function.h"
#include "ATC_Error.h"