mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-24 06:18:10 -05:00
- Additional LMMS_BUILD flag. - Disallow on plugins -Wl,-no-undefined which triggers undefined references. - Make sure X11 headers are found. Lib ossaudio is needed only for OpenBSD redundant expression removal simplify condition for detection OS 'kind' seems the last commit brought an issue on OSx travis test ....
38 lines
564 B
C
38 lines
564 B
C
#ifdef __GNUC__
|
|
#define GCC_VERSION "GCC " __VERSION__
|
|
#else
|
|
#define GCC_VERSION "unknown compiler"
|
|
#endif
|
|
|
|
#ifdef LMMS_HOST_X86
|
|
#define MACHINE "i386"
|
|
#endif
|
|
|
|
#ifdef LMMS_HOST_X86_64
|
|
#define MACHINE "x86_64"
|
|
#endif
|
|
|
|
#ifndef MACHINE
|
|
#define MACHINE "unknown processor"
|
|
#endif
|
|
|
|
#ifdef LMMS_BUILD_LINUX
|
|
#define PLATFORM "Linux"
|
|
#endif
|
|
|
|
#ifdef LMMS_BUILD_APPLE
|
|
#define PLATFORM "OS X"
|
|
#endif
|
|
|
|
#ifdef LMMS_BUILD_OPENBSD
|
|
#define PLATFORM "OpenBSD"
|
|
#endif
|
|
|
|
#ifdef LMMS_BUILD_WIN32
|
|
#define PLATFORM "win32"
|
|
#endif
|
|
|
|
#ifdef LMMS_BUILD_HAIKU
|
|
#define PLATFORM "Haiku"
|
|
#endif
|