diff options
| author | Brent Cook <busterb@gmail.com> | 2024-02-25 18:29:14 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2024-03-03 15:32:50 -0600 |
| commit | 9584fb3e0ad2fa51476f466549ff8bee5ec73bf6 (patch) | |
| tree | 44b9367aeb4798b8e69de38217a927804380391a /include | |
| parent | 499a33a35dd37da2899d3b55d2ff87d2c56efad9 (diff) | |
| download | portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.tar.gz portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.tar.bz2 portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.zip | |
define _MSC_VER when preprocessing, add guards
Diffstat (limited to 'include')
| -rw-r--r-- | include/compat/cet.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/compat/cet.h b/include/compat/cet.h index 95517b0..bb845de 100644 --- a/include/compat/cet.h +++ b/include/compat/cet.h | |||
| @@ -7,7 +7,13 @@ | |||
| 7 | #define LIBCOMPAT_CET_H | 7 | #define LIBCOMPAT_CET_H |
| 8 | 8 | ||
| 9 | #ifndef _MSC_VER | 9 | #ifndef _MSC_VER |
| 10 | #include_next <cet.h> | 10 | |
| 11 | #ifdef __CET__ | ||
| 12 | # include_next <cet.h> | ||
| 13 | #else | ||
| 14 | # define _CET_ENDBR | ||
| 15 | #endif | ||
| 16 | |||
| 11 | #endif | 17 | #endif |
| 12 | 18 | ||
| 13 | #endif | 19 | #endif |
