Guitar
platform.h
Go to the documentation of this file.
1 #ifndef PLATFORM_H
2 #define PLATFORM_H
3 
4 #include <QApplication>
5 
6 #ifdef Q_OS_WIN
7 #include "win32/win32.h"
8 #else
9 #include <unistd.h>
10 #endif
11 
12 #ifdef Q_OS_MAC
13 extern "C" char **environ;
14 #endif
15 
16 #ifdef Q_OS_WIN
17 #define GIT_COMMAND "git.exe"
18 #define GPG_COMMAND "gpg.exe"
19 #define GPG2_COMMAND "gpg2.exe"
20 #define SSH_COMMAND "ssh.exe"
21 #else
22 #define GIT_COMMAND "git"
23 #define GPG_COMMAND "gpg"
24 #define GPG2_COMMAND "gpg2"
25 #define SSH_COMMAND "ssh"
26 #endif
27 
28 #endif // PLATFORM_H
win32.h