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
68bb0484
Commit
68bb0484
authored
Apr 07, 2006
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ib_uint32_t typedef.
parent
c9049c82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
include/univ.i
include/univ.i
+10
-0
No files found.
include/univ.i
View file @
68bb0484
...
...
@@ -174,6 +174,16 @@ management to ensure correct alignment for doubles etc. */
/* Note that inside MySQL 'byte' is defined as char on Linux! */
#
define
byte
unsigned
char
/* Define an unsigned integer type that is exactly 32 bits. */
#
if
SIZEOF_INT
==
4
typedef
unsigned
int
ib_uint32_t
;
#
elif
SIZEOF_LONG
==
4
typedef
unsigned
long
ib_uint32_t
;
#
else
#
error
"Neither int or long is 4 bytes"
#
endif
/* Another basic type we use is unsigned long integer which should be equal to
the word size of the machine, that is on a 32-bit platform 32 bits, and on a
64-bit platform 64 bits. We also give the printf format for the type as a
...
...
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