diff options
author | Tobias Jakobi <tjakobi@math.uni-bielefeld.de> | 2017-04-05 16:22:24 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-04-08 21:33:30 +0100 |
commit | 47521438eb5c3f01c0bbae79c85ddbe8a5435a98 (patch) | |
tree | f458e1adeb7753c64b51cb516964e2e568a6150a /exynos | |
parent | c9c77c37175be1a8f30e34d30f32a9f3f3df0dce (diff) | |
download | libdrm-47521438eb5c3f01c0bbae79c85ddbe8a5435a98.tar.gz libdrm-47521438eb5c3f01c0bbae79c85ddbe8a5435a98.tar.bz2 libdrm-47521438eb5c3f01c0bbae79c85ddbe8a5435a98.zip |
exynos: add C++ support to exynos_drmif header
Add the usual extern "C" when compiling in C++ mode.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'exynos')
-rw-r--r-- | exynos/exynos_drmif.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/exynos/exynos_drmif.h b/exynos/exynos_drmif.h index 626e3998..154439bb 100644 --- a/exynos/exynos_drmif.h +++ b/exynos/exynos_drmif.h @@ -31,6 +31,10 @@ #include <stdint.h> #include "exynos_drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + struct exynos_device { int fd; }; @@ -109,4 +113,8 @@ int exynos_handle_event(struct exynos_device *dev, struct exynos_event_context *ctx); +#if defined(__cplusplus) +} +#endif + #endif /* EXYNOS_DRMIF_H_ */ |