(eval-when (:compile-toplevel :load-toplevel :execute)
(define-foreign-library gdk
(:unix (:or "libgdk-x11-2.0.so.0" "libgdk-x11-2.0.so"))
- (t "libgdk-2.0")))
+ (:win32 "libgdk-win32-2.0-0.dll")
+ (t "libgdk-2.0"))
+ (define-foreign-library gdk-pixbuf
+ (:unix (:or "libgdk_pixbuf-2.0.so.0" "libgdk_pixbuf-2.0.so"))
+ (:win32 (:or "libgdk-pixbuf-win32-2.0-0" "libgdk-pixbuf-2.0-0.dll"))
+ (t "libgdk_pixbuf-2.0")))
-(use-foreign-library gdk)
\ No newline at end of file
+(use-foreign-library gdk)
+(use-foreign-library gdk-pixbuf)
\ No newline at end of file
(eval-when (:compile-toplevel :load-toplevel :execute)
(define-foreign-library glib
(:unix (:or "libglib-2.0.so.0" "libglib-2.0.so"))
- (t "libglib-2.0")))
+ (:win32 "libglib-2.0-0.dll")
+ (t (:default "libglib-2.0"))))
(use-foreign-library glib)
(eval-when (:compile-toplevel :load-toplevel :execute)
(define-foreign-library gthread
(:unix (:or "libgthread-2.0.so.0" "libgthread-2.0.so"))
+ (:win32 "libgthread-2.0-0.dll")
(t "libgthread-2.0")))
(use-foreign-library gthread)
(eval-when (:compile-toplevel :load-toplevel :execute)
(cffi:define-foreign-library gobject
(:unix (:or "libgobject-2.0.so.0" "libgobject-2.0.so"))
+ (:win32 "libgobject-2.0-0.dll")
(t "libgobject-2.0")))
(cffi:use-foreign-library gobject)
(eval-when (:compile-toplevel :load-toplevel :execute)
(define-foreign-library gtkglext
(:unix (:or "libgtkglext-x11-1.0.so.0" "libgtkglext-x11-1.0.so"))
+ (:win32 "libgtkglext-win32-1.0-0.dll")
(t (:default "libgtkglext-1.0")))
(define-foreign-library gdkglext
(:unix (:or "libgdkglext-x11-1.0.so.0" "libgdkglext-x11-1.0.so"))
+ (:win32 "libgtkglext-win32-1.0-0.dll")
(t (:default "libgdkglext-1.0"))))
(use-foreign-library gtkglext)
(eval-when (:compile-toplevel :load-toplevel :execute)
(define-foreign-library gtk
(:unix (:or "libgtk-x11-2.0.so.0" "libgtk-x11-2.0.so"))
+ (:win32 (:or "libgtk-2.0-0.dll" "libgtk-win32-2.0-0.dll"))
(t "libgtk-2.0")))
(use-foreign-library gtk)