Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
52340c55
Commit
52340c55
authored
Jun 03, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
25cb1423
f55a378e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
18 deletions
+7
-18
include/my_global.h
include/my_global.h
+7
-18
No files found.
include/my_global.h
View file @
52340c55
...
@@ -203,18 +203,6 @@ C_MODE_END
...
@@ -203,18 +203,6 @@ C_MODE_END
#define BAD_MEMCPY
#define BAD_MEMCPY
#endif
#endif
/* In Linux-alpha we have atomic.h if we are using gcc */
#if defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && defined(__alpha__) && (__GNUC__ > 2 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 95)) && !defined(HAVE_ATOMIC_ADD)
#define HAVE_ATOMIC_ADD
#define HAVE_ATOMIC_SUB
#endif
/* In Linux-ia64 including atomic.h will give us an error */
#if (defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && (defined(__ia64__)||defined(__powerpc64__))) || !defined(THREAD)
#undef HAVE_ATOMIC_ADD
#undef HAVE_ATOMIC_SUB
#endif
#if defined(_lint) && !defined(lint)
#if defined(_lint) && !defined(lint)
#define lint
#define lint
#endif
#endif
...
@@ -276,16 +264,17 @@ C_MODE_END
...
@@ -276,16 +264,17 @@ C_MODE_END
#include <alloca.h>
#include <alloca.h>
#endif
#endif
#ifdef HAVE_ATOMIC_ADD
#ifdef HAVE_ATOMIC_ADD
#define __SMP__
#if defined(__ia64__)
#ifdef HAVE_LINUX_CONFIG_H
#define new my_arg_new
#include <linux/config.h>
/* May define CONFIG_SMP */
#define need_to_restore_new 1
#endif
#ifndef CONFIG_SMP
#define CONFIG_SMP
#endif
#endif
C_MODE_START
C_MODE_START
#include <asm/atomic.h>
#include <asm/atomic.h>
C_MODE_END
C_MODE_END
#ifdef need_to_restore_new
/* probably safer than #ifdef new */
#undef new
#undef need_to_restore_new
#endif
#endif
#endif
#include <errno.h>
/* Recommended by debian */
#include <errno.h>
/* Recommended by debian */
/* We need the following to go around a problem with openssl on solaris */
/* We need the following to go around a problem with openssl on solaris */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment