update usertrade to support g++
[lttv.git] / ltt-usertrace / ltt / system-ppc64.h
index 0d28bc9cb7b0194c8f56c588ee16f226341085e9..022ef9206af4c013b3f1e481f3af401c363dc204 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __PPC64_SYSTEM_H
 #define __PPC64_SYSTEM_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -211,4 +215,8 @@ __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size)
 
 #define arch_align_stack(x) (x)
 
+#ifdef __cplusplus
+} /* end of extern "C" */
+#endif
+
 #endif
This page took 0.022637 seconds and 4 git commands to generate.