aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <[email protected]>2016-10-07 22:19:19 +1100
committerEdward O'Callaghan <[email protected]>2016-10-10 16:10:56 +1100
commitba43768a1e9740076825a873001e1d7a3259742b (patch)
tree078bf5c9a9c0e9ae491d2ca31eb7ec21fada5362 /src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
parent2d7e0f35c54f49c3280eea308a652253cb3bde46 (diff)
radv: Use proper header guards over 'pragma once' directives
Signed-off-by: Edward O'Callaghan <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h')
-rw-r--r--src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
index b79495d9952..abb238b358d 100644
--- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
+++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.h
@@ -24,7 +24,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
-#pragma once
+
+#ifndef RADV_AMDGPU_WINSYS_H
+#define RADV_AMDGPU_WINSYS_H
#include "radv_radeon_winsys.h"
#include "addrlib/addrinterface.h"
@@ -55,3 +57,5 @@ radv_amdgpu_winsys(struct radeon_winsys *base)
{
return (struct radv_amdgpu_winsys*)base;
}
+
+#endif /* RADV_AMDGPU_WINSYS_H */