Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
5e80d6f5
Commit
5e80d6f5
authored
20 years ago
by
Felix Nawothnig
Committed by
Alexandre Julliard
20 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Define all macros described on MSDN.
parent
c64835dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/msvcrt/limits.h
+31
-9
31 additions, 9 deletions
include/msvcrt/limits.h
with
31 additions
and
9 deletions
include/msvcrt/limits.h
+
31
−
9
View file @
5e80d6f5
#ifndef __WINE_LIMITS_H
#define __WINE_LIMITS_H
#define INT_MAX 2147483647
#define INT_MIN (-2147483648)
#define SHRT_MAX 32767
#define SHRT_MIN (-32768)
#define CHAR_BIT 8
#define MB_LEN_MAX 2
#
if
def
__cplusplus
extern
"C"
{
#
endi
f
#def
ine SCHAR_MIN (-0x80)
#define SCHAR_MAX 0x7f
#
define UCHAR_MAX 0xf
f
#ifdef __cplusplus
}
#ifdef __CHAR_UNSIGNED__
# define CHAR_MIN 0
# define CHAR_MAX UCHAR_MAX
#else
# define CHAR_MIN SCHAR_MIN
# define CHAR_MAX SCHAR_MAX
#endif
#define SHRT_MIN (-0x8000)
#define SHRT_MAX 0x7fff
#define USHRT_MAX 0xffff
#define INT_MIN (-0x80000000)
#define INT_MAX 0x7fffffff
#define UINT_MAX 0xffffffff
#define LONG_MIN (-0x80000000L)
#define LONG_MAX 0x7fffffffL
#define ULONG_MAX 0xffffffffUL
#define _I64_MAX (((__int64)0x7fffffff << 32) | 0xffffffff)
#define _I64_MIN (-_I64_MAX-1)
#define _UI64_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff)
#define I64_MIN _I64_MIN
#define I64_MAX _I64_MAX
#define UI64_MAX _UI64_MAX
#endif
/* __WINE_LIMITS_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment