diff options
author | Lucas Holt <luke@foolishgames.com> | 2018-09-08 18:46:54 (GMT) |
---|---|---|
committer | Lucas Holt <luke@foolishgames.com> | 2018-09-08 18:46:54 (GMT) |
commit | 3318d573ba09cf6d509d69ee2520b4748408248f (patch) | |
tree | 314bf4fac0bf33bfb1111254693a8c9b36ca85a5 /programs | |
parent | 0f08c22c318356b8b9217376c3d4161c92e6ce1a (diff) | |
download | lz4-3318d573ba09cf6d509d69ee2520b4748408248f.zip lz4-3318d573ba09cf6d509d69ee2520b4748408248f.tar.gz lz4-3318d573ba09cf6d509d69ee2520b4748408248f.tar.bz2 |
Add support for MidnightBSD
Diffstat (limited to 'programs')
-rw-r--r-- | programs/Makefile | 2 | ||||
-rw-r--r-- | programs/platform.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile index 98366ad..bd33d9b 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -109,7 +109,7 @@ clean: #----------------------------------------------------------------------------- # make install is validated only for Linux, OSX, BSD, Hurd and Solaris targets #----------------------------------------------------------------------------- -ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku)) +ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD)) unlz4: lz4 ln -s lz4$(EXT) unlz4$(EXT) diff --git a/programs/platform.h b/programs/platform.h index db2efac..c0b3840 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -81,7 +81,7 @@ extern "C" { #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)) /* UNIX-like OS */ \ || defined(__midipix__) || defined(__VMS)) # if (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || defined(_AIX) || defined(__hpux) /* POSIX.1–2001 (SUSv3) conformant */ \ - || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) /* BSD distros */ + || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__MidnightBSD__) /* BSD distros */ # define PLATFORM_POSIX_VERSION 200112L # else # if defined(__linux__) || defined(__linux) |