Fixes for Linux.

This commit is contained in:
Jack Moffitt 2014-11-25 17:30:46 -07:00 committed by Patrick Walton
parent 3bf779cd21
commit e4362dad73
3 changed files with 7 additions and 1 deletions

View file

@ -87,6 +87,7 @@ cef_static_method_impls! {
browser_host_create(client, false);
1i32
}
fn cef_browser_host_create_browser_sync(_window_info: *const cef_window_info_t,
client: *mut cef_client_t,
_url: *const cef_string_t,

View file

@ -92,6 +92,7 @@ macro_rules! cef_static_method_impls(
)*
) => (
$(
#[no_mangle]
pub extern "C" fn $method_name($($method_arg_name: $method_arg_type),*)
-> $method_return_type {
$(

View file

@ -2,7 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use libc::{c_uint, c_ushort, c_int, c_double, size_t, c_void};
use libc::{c_uint, c_ushort, c_int, c_double, size_t};
#[cfg(target_os="linux")]
use libc::c_ulong;
#[cfg(target_os="macos")]
use libc::c_void;
use libc::types::os::arch::c95::wchar_t;
pub use self::cef_rect as cef_rect_t;