diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-09-30 12:46:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-09-30 15:55:11 +0200 |
commit | c047e3f98f28d1cedd0ec1c7aa4a64da68cbf2c1 (patch) | |
tree | 825623c775076e23f408a7975df1d54d65e0a889 /external | |
parent | a247d574fa32770b19875e8ca967a32a32ef0f36 (diff) |
Missing include for intptr_t
...at least when building with clang-cl against recent MSVC 2019 standard
library:
> external/clew/source/include\clew/clew.h(319,9): error: unknown type name 'intptr_t'
> typedef intptr_t cl_context_properties;
> ^
Change-Id: Ib438b680964028461ac3e566410fc90259d015b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122888
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/clew/source/include/clew/clew.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/external/clew/source/include/clew/clew.h b/external/clew/source/include/clew/clew.h index 7b325d1ddf4e..a722b68bbb8f 100644 --- a/external/clew/source/include/clew/clew.h +++ b/external/clew/source/include/clew/clew.h @@ -84,6 +84,8 @@ extern "C" { #define CL_EXTENSION_WEAK_LINK #endif +#include <stdint.h> + #if defined(_WIN32) && defined(_MSC_VER) /* scalar types */ @@ -165,8 +167,6 @@ typedef double cl_double16[16]; #else -#include <stdint.h> - /* scalar types */ typedef int8_t cl_char; typedef uint8_t cl_uchar; |