Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
8d472cd5
Commit
8d472cd5
authored
Mar 29, 2018
by
Robert Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename new flag to ABC_USE_STDINT_H
parent
40c8a398
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
src/misc/util/abc_global.h
+6
-6
src/misc/util/utilBridge.c
+1
-1
No files found.
src/misc/util/abc_global.h
View file @
8d472cd5
...
...
@@ -96,7 +96,7 @@ ABC_NAMESPACE_HEADER_START
/// BASIC TYPES ///
////////////////////////////////////////////////////////////////////////
#ifdef ABC_
HAV
E_STDINT_H
#ifdef ABC_
US
E_STDINT_H
// If there is stdint.h, assume this is a reasonably-modern platform that
// would also have stddef.h and limits.h
#include <limits.h>
...
...
@@ -146,7 +146,7 @@ ABC_NAMESPACE_HEADER_START
*/
#if defined(__ccdoc__)
typedef
platform_dependent_type
ABC_PTRDIFF_T
;
#elif defined(ABC_
HAV
E_STDINT_H)
#elif defined(ABC_
US
E_STDINT_H)
typedef
ptrdiff_t
ABC_PTRDIFF_T
;
#elif defined(LIN64)
typedef
long
ABC_PTRDIFF_T
;
...
...
@@ -165,7 +165,7 @@ typedef int ABC_PTRDIFF_T;
*/
#if defined(__ccdoc__)
typedef
platform_dependent_type
ABC_PTRUINT_T
;
#elif defined(ABC_
HAV
E_STDINT_H)
#elif defined(ABC_
US
E_STDINT_H)
typedef
uintptr_t
ABC_PTRUINT_T
;
#elif defined(LIN64)
typedef
unsigned
long
ABC_PTRUINT_T
;
...
...
@@ -184,7 +184,7 @@ typedef unsigned int ABC_PTRUINT_T;
*/
#if defined(__ccdoc__)
typedef
platform_dependent_type
ABC_PTRINT_T
;
#elif defined(ABC_
HAV
E_STDINT_H)
#elif defined(ABC_
US
E_STDINT_H)
typedef
intptr_t
ABC_PTRINT_T
;
#elif defined(LIN64)
typedef
long
ABC_PTRINT_T
;
...
...
@@ -201,7 +201,7 @@ typedef int ABC_PTRINT_T;
*/
#if defined(__ccdoc__)
typedef
platform_dependent_type
ABC_INT64_T
;
#elif defined(ABC_
HAV
E_STDINT_H)
#elif defined(ABC_
US
E_STDINT_H)
typedef
int64_t
ABC_INT64_T
;
#elif defined(LIN64)
typedef
long
ABC_INT64_T
;
...
...
@@ -218,7 +218,7 @@ typedef signed __int64 ABC_INT64_T;
*/
#if defined(__ccdoc__)
typedef
platform_dependent_type
ABC_UINT64_T
;
#elif defined(ABC_
HAV
E_STDINT_H)
#elif defined(ABC_
US
E_STDINT_H)
typedef
uint64_t
ABC_UINT64_T
;
#elif defined(LIN64)
typedef
unsigned
long
ABC_UINT64_T
;
...
...
src/misc/util/utilBridge.c
View file @
8d472cd5
...
...
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <assert.h>
#include
"abc_global.h"
#include
<misc/util/abc_global.h>
#if defined(LIN) || defined(LIN64)
#include <unistd.h>
...
...
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