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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
530389e6
Commit
530389e6
authored
Jan 03, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#7626 - ndb UintPtr handling
ndb/include/ndb_types.h: redo UintPtr handling
parent
96a95530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
ndb/include/ndb_types.h
ndb/include/ndb_types.h
+9
-18
No files found.
ndb/include/ndb_types.h
View file @
530389e6
...
...
@@ -30,31 +30,22 @@ typedef unsigned int Uint32;
typedef
unsigned
int
UintR
;
#ifdef __SIZE_TYPE__
typedef
__SIZE_TYPE__
UintPtr
;
#else
#include <ndb_global.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#if defined(WIN32) || defined(NDB_WIN32)
typedef
Uint32
UintPtr
;
#else
typedef
uintptr_t
UintPtr
;
#endif
#endif
#if defined(WIN32) || defined(NDB_WIN32)
typedef
unsigned
__int64
Uint64
;
typedef
signed
__int64
Int64
;
typedef
UintPtr
ssize_t
;
#else
typedef
unsigned
long
long
Uint64
;
typedef
signed
long
long
Int64
;
#endif
#ifdef __SIZE_TYPE__
typedef
__SIZE_TYPE__
UintPtr
;
#else
#if SIZEOF_CHARP == 4
typedef
Uint32
UintPtr
;
#else
typedef
Uint64
UintPtr
;
#endif
#endif
#endif
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