21 lines
486 B
C++
Raw Normal View History

2013-08-09 15:04:52 +02:00
/*
* \brief main() wrapper for customizing main()'s stack size
* \author Christian Prochaska
* \date 2008-08-20
*/
/*
* Copyright (C) 2008-2017 Genode Labs GmbH
2013-08-09 15:04:52 +02:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
2013-08-09 15:04:52 +02:00
*/
#ifdef QT_MAIN_STACK_SIZE
#include <libc/component.h>
2013-08-09 15:04:52 +02:00
Genode::size_t Libc::Component::stack_size() { return QT_MAIN_STACK_SIZE; }
2013-08-09 15:04:52 +02:00
#endif /* QT_MAIN_STACK_SIZE */