Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
a5deb387
Commit
a5deb387
authored
Aug 21, 2013
by
Anders Blomdell
Browse files
Various OSX fixes.
parent
571541d7
Changes
4
Hide whitespace changes
Inline
Side-by-side
lib/c/Makefile
View file @
a5deb387
...
...
@@ -8,9 +8,10 @@ ifeq ($(UNAME_S),Linux)
MAKESHARED
=
gcc
-o
$1
-shared
-Wl
,-soname,
$2
$3
-lc
-lrt
else
ifeq
($(UNAME_S),Darwin)
CC
=
clang
CFLAGS
=
-g
-Wall
-Werror
-O3
-I
.
-Itest
CFLAGS
=
-g
-Wall
-Werror
-O3
-I
.
-Itest
\
-DLABCOMM_COMPAT
=
\"
labcomm_compat_osx.h
\"
\
-Wno-tautological-compare
-Wno-unused-function
LDFLAGS
=
-L
.
LDLIBS
=
-llabcomm
MAKESHARED
=
clang
-o
$1
-shared
-Wl
,-install_name,
$2
$3
-lc
else
...
...
lib/c/labcomm_compat_osx.h
View file @
a5deb387
...
...
@@ -13,7 +13,7 @@
#include
<mach/mach.h>
#define CLOCK_REALTIME 0
static
void
clock_gettime
(
int
garbage
,
struct
timespec
*
ts
)
static
inline
void
clock_gettime
(
int
garbage
,
struct
timespec
*
ts
)
{
(
void
)
garbage
;
clock_serv_t
cclock
;
...
...
lib/c/liblabcomm.so
deleted
100755 → 0
View file @
571541d7
INPUT(liblabcomm.so.1)
lib/c/liblabcomm.so
0 → 120000
View file @
a5deb387
liblabcomm.so.1
\ No newline at end of file
Write
Preview
Supports
Markdown
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