Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
7b2afc26
Commit
7b2afc26
authored
Apr 21, 2019
by
Nicolas Carion
Browse files
better os detection macro
parent
efac0d32
Pipeline
#2796
passed with stage
in 13 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/abortutil.cpp
View file @
7b2afc26
#include "abortutil.hpp"
#ifdef
__linux__
#if
!
def
ined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
void
Disable_Console_Output
()
{
...
...
tests/abortutil.hpp
View file @
7b2afc26
#pragma once
#ifdef
__linux__
#if
!
def
ined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
#include <cstdio>
#include <cstdlib>
#include <sys/types.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment