Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ecopcr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OBITools
ecopcr
Commits
17387dae
Commit
17387dae
authored
Feb 03, 2017
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deleted OS X code specificities
parent
18583c4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
36 deletions
+3
-36
src/global.mk
src/global.mk
+2
-3
src/libapat/Gtypes.h
src/libapat/Gtypes.h
+1
-33
No files found.
src/global.mk
View file @
17387dae
MACHINE
=
MAC_OS_X
LIBPATH
=
-Llibapat
-LlibecoPCR
-Llibthermo
MAKEDEPEND
=
gcc
-
D
$(MACHINE)
-
M
$(CPPFLAGS)
-o
$*
.d
$<
MAKEDEPEND
=
gcc
-M
$(CPPFLAGS)
-o
$*
.d
$<
CC
=
gcc
CFLAGS
=
-O3
-w
...
...
@@ -8,7 +7,7 @@ CFLAGS= -O3 -w
default
:
all
%.o
:
%.c
$(CC)
-D
$(MACHINE)
$(CFLAGS)
-c
-o
$@
$<
$(CC)
$(CFLAGS)
-c
-o
$@
$<
%.P
:
%.c
$(MAKEDEPEND)
...
...
src/libapat/Gtypes.h
View file @
17387dae
...
...
@@ -27,13 +27,9 @@
#define PROTO 1
/* prototypes flag */
#endif
#ifdef MAC_OS_C
#define Vrai true
/* TC boolean values */
#define Faux false
/* */
#else
#define Vrai 0x1
/* bool values = TRUE */
#define Faux 0x0
/* = FALSE */
#endif
#define Nil NULL
/* nil pointer */
...
...
@@ -42,28 +38,7 @@
#define kBigUInt16 0xffff
/* plus grand 16 bits ~signe */
#define kBigUInt32 0xffffffff
/* plus grand 32 bits ~signe */
#ifdef MAC_OS_C
/* ==================================================== */
/* Types (for Macintosh ThinK C || MWerks) */
/* ==================================================== */
/* --- specific sizes --------- */
typedef
long
Int32
;
/* Int32 = 32 bits signe */
typedef
unsigned
long
UInt32
;
/* UInt32 = 32 bits ~signe */
typedef
short
Int16
;
/* Int16 = 16 bits signe */
typedef
unsigned
short
UInt16
;
/* UInt32 = 16 bits ~signe */
typedef
char
Int8
;
/* Int8 = 8 bits signe */
typedef
unsigned
char
UInt8
;
/* UInt8 = 8 bits ~signe */
/* --- default types ---------- */
typedef
Boolean
Bool
;
/* booleen */
typedef
long
Int
;
/* 'natural' int (>= 32 bits) */
typedef
void
*
Ptr
;
/* pointeur */
#elif ((defined SUN) || (defined SGI) || (defined UNIX))
/* ==================================================== */
/* Types (for Sun & Iris - 32 bits machines) */
/* ==================================================== */
...
...
@@ -84,14 +59,7 @@ typedef int Int; /* 'natural' int (>= 32 bits) */
typedef
void
*
Ptr
;
/* pointeur */
#else
/* ==================================================== */
/* Types (for undefined machines) */
/* ==================================================== */
#error undefined MACHINE <please edit Gmach.h>
#endif
/* ==================================================== */
/* special macro for prototypes */
...
...
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