summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-02-05 23:13:04 +0100
committerserg@serg.mylan <>2004-02-05 23:13:04 +0100
commit2a45f3ee1691e254c3699e71d4330bdd73f1954e (patch)
tree978f72e75a91d7c68f46c135d2643345d3ce7803 /include
parentd0754dd72059d7c0ab5eea7f196e3bd17a337564 (diff)
downloadmariadb-git-2a45f3ee1691e254c3699e71d4330bdd73f1954e.tar.gz
include atomic.h in extern "C" mode
Diffstat (limited to 'include')
-rw-r--r--include/my_global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 168961a620d..e4c0fb44337 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -273,7 +273,9 @@ C_MODE_END
#ifndef CONFIG_SMP
#define CONFIG_SMP
#endif
+C_MODE_START
#include <asm/atomic.h>
+C_MODE_END
#endif
#include <errno.h> /* Recommended by debian */
/* We need the following to go around a problem with openssl on solaris */