Avoid macro redefinition error if HAVE_LIBCOMPRESSION

is already defined.

llvm-svn: 357553
This commit is contained in:
Jason Molenda 2019-04-03 01:16:54 +00:00
parent b4f9991f38
commit aa107ca3a5
1 changed files with 2 additions and 0 deletions

View File

@ -37,7 +37,9 @@
#include "llvm/ADT/StringSwitch.h"
#if defined(__APPLE__)
#ifndef HAVE_LIBCOMPRESSION
#define HAVE_LIBCOMPRESSION
#endif
#include <compression.h>
#endif