Add wine_get_data_dir()/wine_get_build_dir() functions

Add missing header in uuid library

svn path=/trunk/; revision=32911
This commit is contained in:
Hervé Poussineau 2008-04-11 12:40:19 +00:00
parent 9966008a7e
commit 47399d8373
4 changed files with 37 additions and 0 deletions

View file

@ -29,7 +29,9 @@
/* configuration */
extern const char *wine_get_build_dir(void);
extern const char *wine_get_config_dir(void);
extern const char *wine_get_data_dir(void);
extern const char *wine_get_server_dir(void);
extern const char *wine_get_user_name(void);
extern void wine_init_argv0_path( const char *argv0 );

33
reactos/lib/3rdparty/libwine/config.c vendored Normal file
View file

@ -0,0 +1,33 @@
/*
* Configuration parameters shared between Wine server and clients
*
* Copyright 2002 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wine/library.h"
/* retrieve the wine data dir */
const char *wine_get_data_dir(void)
{
return NULL;
}
/* retrieve the wine build dir (if we are running from there) */
const char *wine_get_build_dir(void)
{
return NULL;
}

View file

@ -2,6 +2,7 @@
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
<module name="wine" type="staticlibrary">
<define name="_DISABLE_TIDENTS" />
<file>config.c</file>
<file>debug.c</file>
<file>string.c</file>
</module>

View file

@ -69,6 +69,7 @@ DEFINE_GUID(GUID_NULL,0,0,0,0,0,0,0,0,0,0,0);
#include "urlhist.h"
#include "hlguids.h"
#include "isguids.h"
#include "objsafe.h"
/* FIXME: cguids declares GUIDs but does not define their values */