Gaia
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
osdetect.h
1
/*
2
* Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
3
*
4
* This file is part of Gaia
5
*
6
* Gaia is free software: you can redistribute it and/or modify it under
7
* the terms of the GNU Affero General Public License as published by the Free
8
* Software Foundation (FSF), either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14
* details.
15
*
16
* You should have received a copy of the Affero GNU General Public License
17
* version 3 along with this program. If not, see http://www.gnu.org/licenses/
18
*/
19
20
#ifndef GAIA_OSDETECT_H
21
#define GAIA_OSDETECT_H
22
23
//#ifdef _MSC_VER
24
//# define OS_WIN32
25
//#else // _MSC_VER
26
//# define OS_LINUX
27
//#endif // _MSC_VER
28
29
#if defined(Q_OS_WIN32) || defined(_MSC_VER)
30
# define OS_WIN32
31
#else
32
# ifdef Q_OS_LINUX
33
# define OS_LINUX
34
# else
35
# ifdef Q_OS_DARWIN
36
# define OS_DARWIN
37
# endif
38
# endif
39
#endif
40
41
#endif // GAIA_OSDETECT_H
src
osdetect.h
Generated by
1.8.11