We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7289b6 + bf377fc commit 20ea487Copy full SHA for 20ea487
1 file changed
src/light_elf.h
@@ -26,7 +26,9 @@
26
27
#include <inttypes.h>
28
29
-__BEGIN_DECLS
+#ifdef __cplusplus
30
+extern "C" {
31
+#endif
32
33
typedef uint16_t Elf32_Half;
34
typedef uint16_t Elf64_Half;
@@ -114,6 +116,8 @@ typedef struct elf32_note {
114
116
#define EI_CLASS 4
115
117
#define EI_DATA 5
118
-__END_DECLS
119
120
+}
121
122
123
#endif /* elf.h */
0 commit comments