Commit 12d8104c authored by Jérome Decoodt's avatar Jérome Decoodt

Trying to fix the build on G5...

parent 7d4656d4
......@@ -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)])
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment