Commit 485f4372 authored by Anil Daoud's avatar Anil Daoud

* fixed skins2 module loading when libtar is present (thanks AsMax :)

parent 76781954
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* theme_loader.cpp * theme_loader.cpp
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * Copyright (C) 2003 VideoLAN
* $Id: theme_loader.cpp,v 1.1 2004/01/03 23:31:34 asmax Exp $ * $Id: theme_loader.cpp,v 1.2 2004/01/10 23:22:21 anil Exp $
* *
* Authors: Cyril Deguet <asmax@via.ecp.fr> * Authors: Cyril Deguet <asmax@via.ecp.fr>
* Olivier Teulire <ipkiss@via.ecp.fr> * Olivier Teulire <ipkiss@via.ecp.fr>
...@@ -476,6 +476,9 @@ int makedir( char *newdir ) ...@@ -476,6 +476,9 @@ int makedir( char *newdir )
return 1; return 1;
} }
#endif
#ifdef HAVE_ZLIB_H
int gzopen_frontend( char *pathname, int oflags, int mode ) int gzopen_frontend( char *pathname, int oflags, int mode )
{ {
char *gzflags; char *gzflags;
...@@ -504,5 +507,4 @@ int gzopen_frontend( char *pathname, int oflags, int mode ) ...@@ -504,5 +507,4 @@ int gzopen_frontend( char *pathname, int oflags, int mode )
return (int)gzf; return (int)gzf;
} }
#endif #endif
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