Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
26b9bcab
Commit
26b9bcab
authored
Mar 07, 2003
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Was using the wrong define for the CUPS soname.
parent
64eff97f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
init.c
dlls/wineps/init.c
+3
-3
info.c
dlls/winspool/info.c
+3
-3
No files found.
dlls/wineps/init.c
View file @
26b9bcab
...
...
@@ -41,8 +41,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
#ifdef HAVE_CUPS_CUPS_H
#include <cups/cups.h>
#ifndef
CUPS_SONAME
#define
CUPS_SONAME
"libcups.so"
#ifndef
SONAME_LIBCUPS
#define
SONAME_LIBCUPS
"libcups.so"
#endif
static
void
*
cupshandle
=
NULL
;
...
...
@@ -139,7 +139,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
#ifdef HAVE_CUPS_CUPS_H
/* dynamically load CUPS if not yet loaded */
if
(
!
cupshandle
)
{
cupshandle
=
wine_dlopen
(
CUPS_SONAME
,
RTLD_NOW
,
NULL
,
0
);
cupshandle
=
wine_dlopen
(
SONAME_LIBCUPS
,
RTLD_NOW
,
NULL
,
0
);
if
(
!
cupshandle
)
cupshandle
=
(
void
*
)
-
1
;
}
#endif
...
...
dlls/winspool/info.c
View file @
26b9bcab
...
...
@@ -32,8 +32,8 @@
#include <stddef.h>
#ifdef HAVE_CUPS_CUPS_H
# include <cups/cups.h>
# ifndef
CUPS_SONAME
# define
CUPS_SONAME
"libcups.so"
# ifndef
SONAME_LIBCUPS
# define
SONAME_LIBCUPS
"libcups.so"
# endif
#endif
...
...
@@ -157,7 +157,7 @@ CUPS_LoadPrinters(void) {
PWSTR
pwstrNameW
;
HKEY
hkeyPrinters
,
hkeyPrinter
;
cupshandle
=
wine_dlopen
(
CUPS_SONAME
,
RTLD_NOW
,
NULL
,
0
);
cupshandle
=
wine_dlopen
(
SONAME_LIBCUPS
,
RTLD_NOW
,
NULL
,
0
);
if
(
!
cupshandle
)
return
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment