Commit 8d0abfb
Workaround mimalloc __THROW decl in cpp files
Summary: This fixes an issue with the 3.15 build. When we include the mimalloc header in our cinderx/python.h we end up getting lots of build errors in C++ files. These are from the presence of `__THROW` being defined which mimalloc is checking for and using for `mimalloc_throw`. So we just undefine it away as we don't really care about this.
Reviewed By: jbower-fb
Differential Revision: D88178338
fbshipit-source-id: 2612373dc341599500986d491c58f39e1e6a57151 parent 07cd422 commit 8d0abfb
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
0 commit comments