]> git.sesse.net Git - vlc/commitdiff
* modules/gui/wxwindows/wxwindows.cpp: temporary hack (I hope ;) to fix win32 compila...
authorGildas Bazin <gbazin@videolan.org>
Thu, 24 Jul 2003 23:21:18 +0000 (23:21 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 24 Jul 2003 23:21:18 +0000 (23:21 +0000)
modules/gui/wxwindows/wxwindows.cpp

index 20e0259781c716702aab81f4c46df1f2b4dfbf53..ddb321cddd395226c5a4b1b2e558b1fdb48e7b84 100644 (file)
@@ -2,7 +2,7 @@
  * wxwindows.cpp : wxWindows plugin for vlc
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: wxwindows.cpp,v 1.23 2003/07/20 10:38:49 gbazin Exp $
+ * $Id: wxwindows.cpp,v 1.24 2003/07/24 23:21:18 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
 #undef Yield
 #undef CreateDialog
 
-extern int wxEntry( HINSTANCE hInstance,
-                    HINSTANCE hPrevInstance = NULL,
-                    char *pCmdLine = NULL,
-                    int nCmdShow = SW_NORMAL );
+/* Hack to detect wxWindows 2.5 which has a different wxEntry() prototype */
+#ifdef _WX_INIT_H_
+extern int wxEntry( HINSTANCE hInstance, HINSTANCE hPrevInstance = NULL,
+                    char *pCmdLine = NULL, int nCmdShow = SW_NORMAL );
+#endif
 #endif
 
 /* Let vlc take care of the i18n stuff */