VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/msvcrt/limits.h

最後變更 在這個檔案是 53201,由 vboxsync 提交於 10 年 前

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 999 位元組
 
1#ifndef __WINE_LIMITS_H
2#define __WINE_LIMITS_H
3
4#include <crtdefs.h>
5
6#define CHAR_BIT 8
7#define MB_LEN_MAX 2
8
9#define SCHAR_MIN (-0x80)
10#define SCHAR_MAX 0x7f
11#define UCHAR_MAX 0xff
12
13#ifdef __CHAR_UNSIGNED__
14# define CHAR_MIN 0
15# define CHAR_MAX UCHAR_MAX
16#else
17# define CHAR_MIN SCHAR_MIN
18# define CHAR_MAX SCHAR_MAX
19#endif
20
21#define SHRT_MIN (-0x8000)
22#define SHRT_MAX 0x7fff
23#define USHRT_MAX 0xffff
24
25#define INT_MIN (-0x80000000)
26#define INT_MAX 0x7fffffff
27#define UINT_MAX 0xffffffff
28
29#define LONG_MIN (-0x80000000L)
30#define LONG_MAX 0x7fffffffL
31#define ULONG_MAX 0xffffffffUL
32
33#define _I64_MAX (((__int64)0x7fffffff << 32) | 0xffffffff)
34#define _I64_MIN (-_I64_MAX-1)
35#define _UI64_MAX (((unsigned __int64)0xffffffff << 32) | 0xffffffff)
36
37#define I64_MIN _I64_MIN
38#define I64_MAX _I64_MAX
39#define UI64_MAX _UI64_MAX
40
41#ifndef SIZE_MAX
42# ifdef _WIN64
43# define SIZE_MAX UI64_MAX
44# else
45# define SIZE_MAX UINT_MAX
46# endif
47#endif
48
49#endif /* __WINE_LIMITS_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette