Files
lmms/include/versioninfo.h
David Carlier f4890ec375 Make it workable on OpenBSD
- 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 ....
2016-03-25 14:44:15 +00:00

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