mirror of
https://github.com/matrix-construct/construct
synced 2024-10-31 19:08:59 +01:00
ircd: Add portable __is_identifier(); add convenience typedef for long long.
This commit is contained in:
parent
0f18b8dc8d
commit
cefee45147
2 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,10 @@
|
||||||
#define __has_builtin(x) 0
|
#define __has_builtin(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __is_identifier
|
||||||
|
#define __is_identifier(x) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Common branch prediction macros
|
// Common branch prediction macros
|
||||||
//
|
//
|
||||||
|
|
|
@ -148,6 +148,9 @@ namespace std
|
||||||
|
|
||||||
namespace ircd
|
namespace ircd
|
||||||
{
|
{
|
||||||
|
using longlong = long long;
|
||||||
|
using ulonglong = unsigned long long;
|
||||||
|
|
||||||
using std::get;
|
using std::get;
|
||||||
using std::end;
|
using std::end;
|
||||||
using std::begin;
|
using std::begin;
|
||||||
|
|
Loading…
Reference in a new issue