Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
228adbee
Commit
228adbee
authored
10 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
fix for new xcode
parent
24fd1526
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/mobile/iOS/Onelab/emulatorFix.c
+42
-0
42 additions, 0 deletions
contrib/mobile/iOS/Onelab/emulatorFix.c
with
42 additions
and
0 deletions
contrib/mobile/iOS/Onelab/emulatorFix.c
+
42
−
0
View file @
228adbee
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
//
//
#include
<stdio.h>
#include
<stdio.h>
#include
<stdlib.h>
#include
<sys/stat.h>
#include
<sys/stat.h>
#include
<sys/resource.h>
#include
<sys/resource.h>
#include
<sys/types.h>
#include
<sys/types.h>
...
@@ -17,6 +18,7 @@
...
@@ -17,6 +18,7 @@
#include
<pthread.h>
#include
<pthread.h>
#include
<sys/time.h>
#include
<sys/time.h>
#include
<time.h>
#include
<time.h>
#include
<string.h>
int
getrlimit
$
UNIX2003
(
int
resource
,
struct
rlimit
*
rlp
)
int
getrlimit
$
UNIX2003
(
int
resource
,
struct
rlimit
*
rlp
)
{
{
...
@@ -140,3 +142,43 @@ clock_t clock$UNIX2003()
...
@@ -140,3 +142,43 @@ clock_t clock$UNIX2003()
{
{
return
clock
();
return
clock
();
}
}
int
creat
$
UNIX2003
(
const
char
*
path
,
mode_t
mode
)
{
return
creat
(
path
,
mode
);
}
int
nanosleep
$
UNIX2003
(
const
struct
timespec
*
rqtp
,
struct
timespec
*
rmtp
)
{
return
nanosleep
(
rqtp
,
rmtp
);
}
FILE
*
popen
$
UNIX2003
(
const
char
*
command
,
const
char
*
mode
)
{
return
popen
(
command
,
mode
);
}
int
setenv
$
UNIX2003
(
const
char
*
name
,
const
char
*
value
,
int
overwrite
)
{
return
setenv
(
name
,
value
,
overwrite
);
}
unsigned
int
sleep
$
UNIX2003
(
unsigned
int
seconds
)
{
return
sleep
(
seconds
);
}
char
*
strerror
$
UNIX2003
(
int
errnum
)
{
return
strerror
(
errnum
);
}
double
strtod
$
UNIX2003
(
const
char
*
restrict
nptr
,
char
**
restrict
endptr
)
{
return
strtod
(
nptr
,
endptr
);
}
int
system
$
UNIX2003
(
const
char
*
command
)
{
return
system
(
command
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment