mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
nano3d: Fix header guard in sqrt.h
The code fails to build with clang due to the following warning/error: error: '_INCLUDE__NANO3D__SQRT_H_' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] Fix this by removing the extra underscore from this header guard definition. Issue #3985
This commit is contained in:
parent
b4d294f62e
commit
ffb931f8b1
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _INCLUDE__NANO3D__SQRT_H_
|
#ifndef _INCLUDE__NANO3D__SQRT_H_
|
||||||
#define _INCLUDE__NANO3D__SQRT_H__
|
#define _INCLUDE__NANO3D__SQRT_H_
|
||||||
|
|
||||||
namespace Nano3d {
|
namespace Nano3d {
|
||||||
|
|
||||||
@ -38,4 +38,4 @@ namespace Nano3d {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* _INCLUDE__NANO3D__SQRT_H__ */
|
#endif /* _INCLUDE__NANO3D__SQRT_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user