mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Log library open attempts
This commit is contained in:
parent
c2eb205685
commit
30cdaa1aa9
@ -18,10 +18,12 @@
|
||||
|
||||
#include "amiga/libs.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/log.h"
|
||||
|
||||
#include <proto/exec.h>
|
||||
|
||||
#define AMINS_LIB_OPEN(LIB, LIBVER, PREFIX, INTERFACE, INTVER) \
|
||||
LOG(("Opening %s v%d", LIB, LIBVER)); \
|
||||
if((PREFIX##Base = OpenLibrary(LIB, LIBVER))) { \
|
||||
I##PREFIX = (struct PREFIX##IFace *)GetInterface(PREFIX##Base, INTERFACE, INTVER, NULL); \
|
||||
} else { \
|
||||
|
Loading…
Reference in New Issue
Block a user