//============================================================================ // Copyright (C) 2005 Quantum Leaps, LLC . // // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial // // This software is dual-licensed under the terms of the open source GNU // General Public License version 3 (or any later version), or alternatively, // under the terms of one of the closed source Quantum Leaps commercial // licenses. // // The terms of the open source GNU General Public License version 3 // can be found at: // // The terms of the closed source Quantum Leaps commercial licenses // can be found at: // // Redistributions in source code must retain this top-level comment block. // Plagiarizing this software to sidestep the license obligations is illegal. // // Contact information: // // //============================================================================ //! @date Last updated on: 2022-06-30 //! @version Last updated for: @ref qpcpp_7_0_1 //! //! @file //! @brief QEP/C++ port for QUTEST Windows/Linux/macOS, GNU or Visual C++ #ifndef QEP_PORT_HPP #define QEP_PORT_HPP #ifdef __GNUC__ //! no-return function specifier (GCC compiler) #define Q_NORETURN __attribute__ ((noreturn)) void #elif (defined _MSC_VER) && (defined __cplusplus) //! no-return function specifier (Microsoft Visual Studio compiler) */ #define Q_NORETURN [[ noreturn ]] void #endif // un-comment to provide QEvt constructor/destructor //#define Q_EVT_CTOR 1 //#define Q_EVT_XTOR 1 #include // Exact-width types. C++11 Standard #include "qep.hpp" // QEP platform-independent public interface #endif // QEP_PORT_HPP