diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 15:48:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 15:48:56 +0200 |
commit | 926c1127e92a8ae12121df95901d1d03e413db08 (patch) | |
tree | 336b45e8fffcde82017fd8be918e8b316ded5517 /platform/linuxbsd | |
parent | 581db8b4e60c2a2fa4d0be076030b326784c69bb (diff) | |
parent | 49fcf4ffad4172c2e9dd2249222b628e420c3cc4 (diff) |
Merge pull request #66435 from akien-mga/style-header-guards-cleanup
Cleanup header guards for consistency
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r-- | platform/linuxbsd/detect_prime_x11.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/platform/linuxbsd/detect_prime_x11.h b/platform/linuxbsd/detect_prime_x11.h index 21ebaead32..7eb7064cc5 100644 --- a/platform/linuxbsd/detect_prime_x11.h +++ b/platform/linuxbsd/detect_prime_x11.h @@ -28,11 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifdef X11_ENABLED -#if defined(GLES3_ENABLED) +#ifndef DETECT_PRIME_X11_H +#define DETECT_PRIME_X11_H + +#if defined(X11_ENABLED) && defined(GLES3_ENABLED) int detect_prime(); -#endif +#endif // X11_ENABLED && GLES3_ENABLED #endif // DETECT_PRIME_X11_H |