projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s390 uatomic: fix new compiler support
[urcu.git]
/
urcu
/
arch_s390.h
diff --git
a/urcu/arch_s390.h
b/urcu/arch_s390.h
index 148545b2df5d44c435a96bfde6718018e4069888..b400376a30089ffa936ad104dca88568cb3f901d 100644
(file)
--- a/
urcu/arch_s390.h
+++ b/
urcu/arch_s390.h
@@
-1,5
+1,5
@@
-#ifndef _ARCH_S390_H
-#define _ARCH_S390_H
+#ifndef _
URCU_
ARCH_S390_H
+#define _
URCU_
ARCH_S390_H
/*
* Trivial definitions for the S390 architecture based on information from the
/*
* Trivial definitions for the S390 architecture based on information from the
@@
-31,6
+31,10
@@
#include <compiler.h>
#include <urcu/config.h>
#include <compiler.h>
#include <urcu/config.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CONFIG_HAVE_MEM_COHERENCY
#define CACHE_LINE_SIZE 128
#define CONFIG_HAVE_MEM_COHERENCY
#define CACHE_LINE_SIZE 128
@@
-94,4
+98,8
@@
static inline cycles_t get_cycles (void)
return cycles;
}
return cycles;
}
-#endif /* _ARCH_S390_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _URCU_ARCH_S390_H */
This page took
0.02317 seconds
and
4
git commands to generate.