Fix OS detection
This commit is contained in:
parent
a81d9a6a45
commit
fce06c4b15
1 changed files with 3 additions and 3 deletions
6
nmrpd.h
6
nmrpd.h
|
|
@ -25,13 +25,13 @@
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
# define NMRPFLASH_WINDOWS
|
# define NMRPFLASH_WINDOWS
|
||||||
|
#elif defined(__APPLE__) && defined(__MACH__)
|
||||||
|
# define NMRPFLASH_OSX
|
||||||
|
# define NMRPFLASH_BSD
|
||||||
#elif defined (__unix__)
|
#elif defined (__unix__)
|
||||||
# define NMRPFLASH_UNIX
|
# define NMRPFLASH_UNIX
|
||||||
# if defined(__linux__)
|
# if defined(__linux__)
|
||||||
# define NMRPFLASH_LINUX
|
# define NMRPFLASH_LINUX
|
||||||
# elif defined(__APPLE__) && defined(__MACH__)
|
|
||||||
# define NMRPFLASH_OSX
|
|
||||||
# define NMRPFLASH_BSD
|
|
||||||
# elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
# elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
||||||
# define NMRPFLASH_BSD
|
# define NMRPFLASH_BSD
|
||||||
# else
|
# else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue