mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
gallium: Provide the INT64_C/UINT64_C macros.
"long long" types and 1234LL constants are not supported by eVC.
This commit is contained in:
parent
2691c22870
commit
ae10775b73
1 changed files with 6 additions and 0 deletions
|
|
@ -71,6 +71,9 @@ typedef __int32 intptr_t;
|
|||
typedef unsigned __int32 uintptr_t;
|
||||
#endif
|
||||
|
||||
#define INT64_C(__val) __val##i64
|
||||
#define UINT64_C(__val) __val##ui64
|
||||
|
||||
#ifndef __cplusplus
|
||||
#define false 0
|
||||
#define true 1
|
||||
|
|
@ -80,6 +83,9 @@ typedef int _Bool;
|
|||
#endif /* !__cplusplus */
|
||||
|
||||
#else
|
||||
#ifndef __STDC_LIMIT_MACROS
|
||||
#define __STDC_LIMIT_MACROS 1
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue