diff options
author | Brent Cook <busterb@gmail.com> | 2024-02-25 18:29:14 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-02-25 18:29:14 -0600 |
commit | 53edbd00c12ee1d27f1b9533933b32781125c758 (patch) | |
tree | 007e0fedb8d5b9474c5d8f1fe82d4480bf13666f /include | |
parent | 950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76 (diff) | |
download | portable-53edbd00c12ee1d27f1b9533933b32781125c758.tar.gz portable-53edbd00c12ee1d27f1b9533933b32781125c758.tar.bz2 portable-53edbd00c12ee1d27f1b9533933b32781125c758.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 |