Skip to content

Commit

Permalink
Fix OS detection
Browse files Browse the repository at this point in the history
  • Loading branch information
jclehner committed Nov 21, 2016
1 parent a81d9a6 commit fce06c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nmrpd.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@

#if defined(_WIN32) || defined(_WIN64)
# define NMRPFLASH_WINDOWS
#elif defined(__APPLE__) && defined(__MACH__)
# define NMRPFLASH_OSX
# define NMRPFLASH_BSD
#elif defined (__unix__)
# define NMRPFLASH_UNIX
# if defined(__linux__)
# define NMRPFLASH_LINUX
# elif defined(__APPLE__) && defined(__MACH__)
# define NMRPFLASH_OSX
# define NMRPFLASH_BSD
# elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
# define NMRPFLASH_BSD
# else
Expand Down

0 comments on commit fce06c4

Please sign in to comment.