Skip to content

Commit ed45224

Browse files
committed
Use ifdef guards instead of pragma once
1 parent 7b352d6 commit ed45224

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gcc/rust/rust-backend.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#pragma once
1+
#ifndef RUST_BACKEND_H
2+
#define RUST_BACKEND_H
23

34
#include <gmp.h>
45
#include <mpfr.h>
@@ -759,3 +760,5 @@ class Backend
759760
// section in the output object file.
760761
virtual void write_export_data (const char *bytes, unsigned int size) = 0;
761762
};
763+
764+
#endif // RUST_BACKEND_H

0 commit comments

Comments
 (0)