gphoto2.ds: Only provide GPHOTO2_StrDup() when we have HAVE_GPHOTO2.
This commit is contained in:
parent
31bb9219d6
commit
96929d151e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue