summaryrefslogtreecommitdiff
path: root/mysys/my_atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_atomic.c')
-rw-r--r--mysys/my_atomic.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mysys/my_atomic.c b/mysys/my_atomic.c
index 6f56d76e6b8..2908a44961a 100644
--- a/mysys/my_atomic.c
+++ b/mysys/my_atomic.c
@@ -18,11 +18,10 @@
#include <my_pthread.h>
#ifndef HAVE_INLINE
-/*
- the following will cause all inline functions to be instantiated
-*/
+/* the following will cause all inline functions to be instantiated */
#define HAVE_INLINE
-#define static extern
+#undef STATIC_INLINE
+#define STATIC_INLINE extern
#endif
#include <my_atomic.h>