gphoto2.ds: Only provide GPHOTO2_StrDup() when we have HAVE_GPHOTO2.

This commit is contained in:
Gerald Pfeifer 2009-05-28 21:25:35 +02:00 committed by Alexandre Julliard
parent 31bb9219d6
commit 96929d151e
1 changed files with 2 additions and 0 deletions

View File

@ -37,12 +37,14 @@
WINE_DEFAULT_DEBUG_CHANNEL(twain);
#ifdef HAVE_GPHOTO2
static char* GPHOTO2_StrDup(const char* str)
{
char* dst = HeapAlloc(GetProcessHeap(), 0, strlen(str)+1);
strcpy(dst, str);
return dst;
}
#endif
static void
load_filesystem(const char *folder) {