summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-05 23:13:04 +0100
committerunknown <serg@serg.mylan>2004-02-05 23:13:04 +0100
commitb40d4e127aea7beab7a81eb2a4588046fd58f129 (patch)
tree978f72e75a91d7c68f46c135d2643345d3ce7803 /include
parentb8004902c4d4674a3e1e35e4bab4a3a706849060 (diff)
downloadmariadb-git-b40d4e127aea7beab7a81eb2a4588046fd58f129.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 */