Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
12d8104c
Commit
12d8104c
authored
Jun 20, 2007
by
Jérome Decoodt
Browse files
Trying to fix the build on G5...
parent
7d4656d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
12d8104c
...
...
@@ -173,6 +173,7 @@ case "${host_os}" in
VLC_ADD_LDFLAGS([mkv mp4], [-framework IOKit -framework CoreFoundation])
VLC_ADD_CFLAGS([libvlc vlc],[-x objective-c])
VLC_ADD_LDFLAGS([vlc],[-undefined dynamic_lookup])
VLC_ADD_CFLAGS([motion],[-fconstant-cfstrings])
VLC_ADD_LDFLAGS([motion],[-framework IOKit -framework CoreFoundation])
AC_ARG_ENABLE(macosx-defaults,
[ --enable-macosx-defaults Build the default configuration on Mac OS X (default enabled)])
...
...
modules/control/unimotion.c
View file @
12d8104c
...
...
@@ -260,10 +260,10 @@ int read_sms(int type, int *x, int *y, int *z)
if
(
!
ret
)
return
0
;
CFStringRef
app
=
CFSTR
(
"com.ramsayl.UniMotion"
);
CFStringRef
xoffstr
=
CFSTR
(
"x_offset"
);
CFStringRef
yoffstr
=
CFSTR
(
"y_offset"
);
CFStringRef
zoffstr
=
CFSTR
(
"z_offset"
);
static
CFStringRef
app
=
CFSTR
(
"com.ramsayl.UniMotion"
);
static
CFStringRef
xoffstr
=
CFSTR
(
"x_offset"
);
static
CFStringRef
yoffstr
=
CFSTR
(
"y_offset"
);
static
CFStringRef
zoffstr
=
CFSTR
(
"z_offset"
);
xoff
=
CFPreferencesGetAppIntegerValue
(
xoffstr
,
app
,
&
ok
);
if
(
ok
)
_x
+=
xoff
;
yoff
=
CFPreferencesGetAppIntegerValue
(
yoffstr
,
app
,
&
ok
);
...
...
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