aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2020-11-28 20:30:44 +0000
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:22 +0000
commited452249584e272359faf723e831e9d91f9a511c (patch)
tree911c7bfdba44feb8ba4ea02f83730d7eb73b3d82
parent7b352d63e1c08a8bec3af9d6324b53a4d2010407 (diff)
downloadgcc-ed452249584e272359faf723e831e9d91f9a511c.zip
gcc-ed452249584e272359faf723e831e9d91f9a511c.tar.gz
gcc-ed452249584e272359faf723e831e9d91f9a511c.tar.bz2
Use ifdef guards instead of pragma once
-rw-r--r--gcc/rust/rust-backend.h5
1 files changed, 4 insertions, 1 deletions
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 <gmp.h>
#include <mpfr.h>
@@ -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