From ed452249584e272359faf723e831e9d91f9a511c Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Sat, 28 Nov 2020 20:30:44 +0000 Subject: Use ifdef guards instead of pragma once --- gcc/rust/rust-backend.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index ccc5e47..a907fe4 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -1,4 +1,5 @@ -#pragma once +#ifndef RUST_BACKEND_H +#define RUST_BACKEND_H #include #include @@ -759,3 +760,5 @@ public: // section in the output object file. virtual void write_export_data (const char *bytes, unsigned int size) = 0; }; + +#endif // RUST_BACKEND_H -- cgit v1.1