diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-11-03 06:54:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-11-03 05:58:24 +0000 |
commit | faa3108611e2b31e614d10531548803e2362a4f0 (patch) | |
tree | e0794ebfb06dddafc74b3bb3298cdd99743ace27 /variant/default | |
parent | f9eb55e5f2cc20c390d29ca604165ddd71460d3c (diff) |
opentrack: pull in EXIT_{SUCCESS, FAILURE}
Diffstat (limited to 'variant/default')
-rw-r--r-- | variant/default/main-window.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp index 708db9fc..0112e2cc 100644 --- a/variant/default/main-window.cpp +++ b/variant/default/main-window.cpp @@ -16,6 +16,7 @@ #include "compat/macros.hpp" #include "compat/library-path.hpp" #include "compat/math.hpp" +#include "compat/sysexits.hpp" #include <algorithm> #include <iterator> @@ -30,25 +31,6 @@ extern "C" const char* const opentrack_version; using namespace options::globals; using namespace options; -#if !defined EXIT_SUCCESS -# define EXIT_SUCCESS 0 -#endif - -#if !defined EXIT_FAILURE -# define EXIT_FAILURE 1 -#endif - -/* FreeBSD sysexits(3) - * - * The input data was incorrect in some way. This - * should only be used for user's data and not system - * files. - */ - -#if !defined EX_OSFILE -# define EX_OSFILE 72 -#endif - main_window::main_window() : State(OPENTRACK_BASE_PATH + OPENTRACK_LIBRARY_PATH) { ui.setupUi(this); |