Changeset 1619a9c861e72e8b5badaccf95f4dfc989520e57

Show
Ignore:
Timestamp:
03/26/08 23:54:37 (3 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1206572077 +0100
git-parent:

[114bddb714df0aab67ab38de87d010d2572eabc1]

git-author:
Rafaël Carré <funman@videolan.org> 1206572077 +0100
Message:

Mozilla: fix compilation on OSX, where we don't use libX11

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/mozilla/vlcshell.cpp

    r900e1dc r1619a9c  
    365365NPError NPP_SetWindow( NPP instance, NPWindow* window ) 
    366366{ 
     367#ifdef XP_UNIX && !defined(__APPLE__) 
    367368    Window control; 
    368369    unsigned int i_control_height = 0, i_control_width = 0; 
     370#endif 
    369371 
    370372    if( ! instance ) 
     
    380382        return NPERR_NO_ERROR; 
    381383    } 
     384#ifdef XP_UNIX && !defined(__APPLE__) 
    382385    control = p_plugin->getControlWindow(); 
    383  
     386#endif 
    384387    libvlc_instance_t *p_vlc = p_plugin->getVLC(); 
    385388