Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
[libsanitizer] Follow-up for r200700: add the new header to CMakeList…
Browse files Browse the repository at this point in the history
…s.txt and make it empty on non-Mac.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200701 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ramosian-glider committed Feb 3, 2014
1 parent a3a0560 commit 5908c95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/sanitizer_common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ set(SANITIZER_HEADERS
sanitizer_libignore.h
sanitizer_linux.h
sanitizer_list.h
sanitizer_mac.h
sanitizer_mutex.h
sanitizer_placement_new.h
sanitizer_platform.h
Expand Down
4 changes: 4 additions & 0 deletions lib/sanitizer_common/sanitizer_mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
#ifndef SANITIZER_MAC_H
#define SANITIZER_MAC_H

#include "sanitizer_platform.h"
#if SANITIZER_MAC

namespace __sanitizer {

enum MacosVersion {
Expand All @@ -29,4 +32,5 @@ MacosVersion GetMacosVersion();

} // namespace __sanitizer

#endif // SANITIZER_MAC
#endif // SANITIZER_MAC_H

0 comments on commit 5908c95

Please sign in to comment.